enable prefs cache in single user mode

This commit is contained in:
Andrew Dolgov 2009-12-16 14:36:37 +03:00
parent f1c2b67227
commit f5a5bae463
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
require_once "config.php";
require_once "db.php";
if (!defined('DISABLE_SESSIONS') && !SINGLE_USER_MODE) {
if (!defined('DISABLE_SESSIONS')) {
if (!$_SESSION["prefs_cache"])
$_SESSION["prefs_cache"] = array();
}