]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix session support for single user mode
authorAndrew Dolgov <fox@fakecake.org>
Thu, 28 Mar 2013 05:13:30 +0000 (09:13 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Thu, 28 Mar 2013 05:13:30 +0000 (09:13 +0400)
include/functions.php

index f2eeb976bc43e13f09bb133d8495f427f0ee7a73..7cc792e63581b2b3d9c594ba06dba657b6a35b76 100644 (file)
                $_SESSION["prefs_cache"] = false;
 
                if (SINGLE_USER_MODE) {
+                       @session_start();
                        authenticate_user($link, "admin", null);
                        cache_prefs($link);
                        load_user_plugins($link, $_SESSION["uid"]);