From: Andrew Dolgov Date: Mon, 21 Nov 2005 04:23:36 +0000 (+0100) Subject: fix prefs_init for single user mode X-Git-Tag: schema_feature_freeze_for_1.1~152 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c7a03b7a535a0c49ff1c77e8b62171b080742238;p=tt-rss.git fix prefs_init for single user mode --- diff --git a/functions.php b/functions.php index 16b5dac6..b047221e 100644 --- a/functions.php +++ b/functions.php @@ -685,6 +685,7 @@ } else { $_SESSION["uid"] = 1; $_SESSION["name"] = "admin"; + initialize_user_prefs($link, 1); } } ?>