From 25db6c5191e9163cab573cb5f374a81902f3e11f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Mar 2013 09:13:30 +0400 Subject: [PATCH] fix session support for single user mode --- include/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.php b/include/functions.php index f2eeb976b..7cc792e63 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"]);