mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:45:56 +00:00
fix session support for single user mode
This commit is contained in:
@@ -754,6 +754,7 @@
|
|||||||
$_SESSION["prefs_cache"] = false;
|
$_SESSION["prefs_cache"] = false;
|
||||||
|
|
||||||
if (SINGLE_USER_MODE) {
|
if (SINGLE_USER_MODE) {
|
||||||
|
@session_start();
|
||||||
authenticate_user($link, "admin", null);
|
authenticate_user($link, "admin", null);
|
||||||
cache_prefs($link);
|
cache_prefs($link);
|
||||||
load_user_plugins($link, $_SESSION["uid"]);
|
load_user_plugins($link, $_SESSION["uid"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user