diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 09:13:30 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 09:13:30 +0400 |
commit | 25db6c5191e9163cab573cb5f374a81902f3e11f (patch) | |
tree | 6e3aff0540362a21a56c960deb52c965f0103309 /include/functions.php | |
parent | 60ed4c9ad50e10dc2e91991de32df5e9289ceda6 (diff) |
fix session support for single user mode
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
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"]); |