mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
disable themes in safe mode; rework safe mode warning/login prompt
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<title>Tiny Tiny RSS</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');
|
||||
|
||||
Reference in New Issue
Block a user