From: Andrew Dolgov Date: Thu, 28 Mar 2013 05:13:30 +0000 (+0400) Subject: fix session support for single user mode X-Git-Tag: 1.7.6~221 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=25db6c5191e9163cab573cb5f374a81902f3e11f;p=tt-rss.git fix session support for single user mode --- diff --git a/include/functions.php b/include/functions.php index f2eeb976..7cc792e6 100644 --- a/include/functions.php +++ b/include/functions.php @@ -754,6 +754,7 @@ $_SESSION["prefs_cache"] = false; if (SINGLE_USER_MODE) { + @session_start(); authenticate_user($link, "admin", null); cache_prefs($link); load_user_plugins($link, $_SESSION["uid"]);