summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-31 04:08:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-31 04:08:35 +0000
commit65bc8762b1dbcfd267555d11fc933418168110d5 (patch)
treece451b79d7a0cf0060e81d423aa7fbe56c40bcc8 /lib/init.php
parent748e50ade1b0c7034eddaadbe2285e5bf3a20fc6 (diff)
downloadampache-65bc8762b1dbcfd267555d11fc933418168110d5.tar.gz
ampache-65bc8762b1dbcfd267555d11fc933418168110d5.tar.bz2
ampache-65bc8762b1dbcfd267555d11fc933418168110d5.zip
fixed flag management interface, and potentially fixed an issue with use_auth=false
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php
index 01f15bb2..b28554bd 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -206,7 +206,7 @@ elseif (!Config::get('use_auth')) {
$auth['access'] = '100';
$auth['offset_limit'] = 50;
if (!vauth::check_session()) {
- session_start();
+ vauth::create_cookie();
vauth::session_create($auth);
}
$GLOBALS['user'] = new User(-1);