]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix prefs_init for single user mode
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 21 Nov 2005 04:23:36 +0000 (05:23 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 21 Nov 2005 04:23:36 +0000 (05:23 +0100)
functions.php

index 16b5dac6720bb766eb4a52e0d863d0ec77acc1e2..b047221efba3f682b4dbbc723b4ed44ac41706b5 100644 (file)
                } else {
                        $_SESSION["uid"] = 1;
                        $_SESSION["name"] = "admin";
+                       initialize_user_prefs($link, 1); 
                }
        }
 ?>