summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-28 14:53:01 +0300
committerAndrew Dolgov <[email protected]>2020-02-28 14:53:01 +0300
commit19e1d134604c4423b81777d542dce491cc2390a5 (patch)
treef91c97ae6dcae39d1c187a0aca144303796f3cd0 /prefs.php
parentad0a9c02e5255fe9aa37ebdd12b87dc87efa7497 (diff)
add URL parameter to ignore user theme on startup
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index 22921b23f..12976ad8f 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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"]) {
+ <?php if ($_SESSION["uid"] && !isset($_REQUEST["ignore-theme"])) {
$theme = get_pref("USER_CSS_THEME", false, false);
if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme), 'theme_css');