diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 08:06:21 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 08:06:21 +0400 |
commit | 5160620c8a3c940688f60cc32abb2387a87139dd (patch) | |
tree | c11971f065a9772bca5fe1071e4c295f39b9d43b /classes/handler/public.php | |
parent | f820f205d0ec1c5ce9027e49755fc8642b0c5b42 (diff) |
only autostart session if login cookie exists
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 94938e548..789db0614 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -481,6 +481,8 @@ class Handler_Public extends Handler { function login() { + @session_start(); + $_SESSION["prefs_cache"] = array(); if (!SINGLE_USER_MODE) { |