summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2011-11-09 23:01:17 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2011-11-09 23:01:17 -0500
commit58a7f6b2a6f1c3dbf6c01156b76b9f62dbd81bed (patch)
tree194b515abc8f0ee1b1a414b452434c3e630d2f25 /lib/init.php
parente2a53eac78c980d73f56e7ea4954dd0bf1c3384e (diff)
downloadampache-58a7f6b2a6f1c3dbf6c01156b76b9f62dbd81bed.tar.gz
ampache-58a7f6b2a6f1c3dbf6c01156b76b9f62dbd81bed.tar.bz2
ampache-58a7f6b2a6f1c3dbf6c01156b76b9f62dbd81bed.zip
Fix custom session handler.
We were manually loading the vauth class (apparently to work around a bug in Synology's PHP) but not calling vauth::_auto_init(), so the default session handler was used. This normally does session locking, so bad things happened.
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/init.php b/lib/init.php
index 757eb8f7..8876b9b4 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -44,6 +44,7 @@ $configfile = "$prefix/config/ampache.cfg.php";
require_once $prefix . '/lib/general.lib.php';
require_once $prefix . '/lib/class/config.class.php';
require_once $prefix . '/lib/class/vauth.class.php'; // Fixes synology bug with __autoload in certain cases
+vauth::_auto_init();
if (!function_exists('gettext')) {
require_once $prefix . '/modules/emulator/gettext.php';