diff options
author | Andrew Dolgov <[email protected]> | 2021-02-11 21:19:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-11 21:19:57 +0300 |
commit | 848bc57f29ca4aa8357617a8470afb063748dd99 (patch) | |
tree | 0f4a99b0d82c30924f3e0df85834a30e885470f8 /prefs.php | |
parent | 74986d1ac6e5d0433bff460aa2b0d1757c75f4b4 (diff) |
disable themes in safe mode; rework safe mode warning/login prompt
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title> <meta name="viewport" content="initial-scale=1,width=device-width" /> - <?php if ($_SESSION["uid"] && !isset($_REQUEST["ignore-theme"])) { + <?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) { $theme = get_pref("USER_CSS_THEME", false, false); if ($theme && theme_exists("$theme")) { echo stylesheet_tag(get_theme_path($theme), 'theme_css'); |