summaryrefslogtreecommitdiffstats
path: root/lib/init.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2009-12-16 12:42:22 +0000
committerspocky <spocky@ampache>2009-12-16 12:42:22 +0000
commit69c56f829da3fc44e6dbcc14c364901b86f55421 (patch)
tree9471ab24eb5978b32f3f7b3b33d5f2f9677dffd7 /lib/init.php
parent5b40b46ba06cbd6eb85defd5e0b24b20769cd633 (diff)
downloadampache-69c56f829da3fc44e6dbcc14c364901b86f55421.tar.gz
ampache-69c56f829da3fc44e6dbcc14c364901b86f55421.tar.bz2
ampache-69c56f829da3fc44e6dbcc14c364901b86f55421.zip
After 3 hours, I finally managed to fix the [synology/fast-cgi] bug that prevented __autoload to work in certain cases.
Diffstat (limited to 'lib/init.php')
-rw-r--r--lib/init.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/init.php b/lib/init.php
index b9f0220f..cb20678f 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -40,7 +40,8 @@ $ampache_path = dirname(__FILE__);
$prefix = realpath($ampache_path . "/../");
$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/config.class.php';
+require_once $prefix . '/lib/class/vauth.class.php'; // Fixes synology bug with __autoload in certain cases
if (!function_exists('gettext')) {
require_once $prefix . '/modules/emulator/gettext.php';