enable prefs cache in single user mode
This commit is contained in:
parent
f1c2b67227
commit
f5a5bae463
|
@ -2,7 +2,7 @@
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
require_once "db.php";
|
require_once "db.php";
|
||||||
|
|
||||||
if (!defined('DISABLE_SESSIONS') && !SINGLE_USER_MODE) {
|
if (!defined('DISABLE_SESSIONS')) {
|
||||||
if (!$_SESSION["prefs_cache"])
|
if (!$_SESSION["prefs_cache"])
|
||||||
$_SESSION["prefs_cache"] = array();
|
$_SESSION["prefs_cache"] = array();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue