summaryrefslogtreecommitdiff
path: root/index.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 /index.php
parentad0a9c02e5255fe9aa37ebdd12b87dc87efa7497 (diff)
add URL parameter to ignore user theme on startup
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 6a22d5471..90ff8bbec 100644
--- a/index.php
+++ b/index.php
@@ -39,7 +39,7 @@
<title>Tiny Tiny RSS</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');