1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:15:56 +00:00

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

View File

@@ -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();
} }