1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

disable themes in safe mode; rework safe mode warning/login prompt

This commit is contained in:
Andrew Dolgov
2021-02-11 21:19:57 +03:00
parent 74986d1ac6
commit 848bc57f29
6 changed files with 41 additions and 5 deletions

View File

@@ -454,6 +454,7 @@ class RPC extends Handler_Protected {
$params[strtolower($param)] = (int) get_pref($param);
}
$params["safe_mode"] = !empty($_SESSION["safe_mode"]);
$params["check_for_updates"] = CHECK_FOR_UPDATES;
$params["icons_url"] = ICONS_URL;
$params["cookie_lifetime"] = SESSION_COOKIE_LIFETIME;