diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-06 08:57:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-06 08:57:05 +0000 |
commit | c0da5afbc92ffde4b698f942923696cd831d8b3f (patch) | |
tree | 3cfb05ca6ce3b2c94ee67126fe601d9fdcd238d7 /lib | |
parent | ae97010e42c47115700b70d7e2d0789dda5deb94 (diff) | |
download | ampache-c0da5afbc92ffde4b698f942923696cd831d8b3f.tar.gz ampache-c0da5afbc92ffde4b698f942923696cd831d8b3f.tar.bz2 ampache-c0da5afbc92ffde4b698f942923696cd831d8b3f.zip |
some session length issues and minor formating/ui tweaks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/init.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/init.php b/lib/init.php index c5efb98a..47c55ad3 100644 --- a/lib/init.php +++ b/lib/init.php @@ -67,7 +67,7 @@ if (!$results = read_config($configfile,0)) { } /** This is the version.... fluf nothing more... **/ -$results['version'] = '3.3.3-Alpha2 Build (003)'; +$results['version'] = '3.3.3-Alpha2 Build (004)'; $results['raw_web_path'] = $results['web_path']; $results['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['web_path']; @@ -109,6 +109,9 @@ if (!is_array($results['auth_methods'])) { if (!$results['user_ip_cardinality']) { $results['user_ip_cardinality'] = 42; } +if (!$results['local_length']) { + $results['local_length'] = '9000'; +} /* Variables needed for vauth Module */ @@ -116,8 +119,8 @@ $results['cookie_path'] = $results['raw_web_path']; $results['cookie_domain'] = $_SERVER['SERVER_NAME']; $results['cookie_life'] = $results['sess_cookielife']; $results['session_name'] = $results['sess_name']; -$results['cookie_secure'] = '0'; -$results['session_length'] = '9000'; +$results['cookie_secure'] = $results['sess_cookiesecure']; +$results['session_length'] = $results['local_length']; $results['mysql_password'] = $results['local_pass']; $results['mysql_username'] = $results['local_username']; $results['mysql_hostname'] = $results['local_host']; |