]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
disable version checking for night.css
[tt-rss.git] / index.php
index 74498b8f45a7f4a3b1ee47feeba2d74422d03674..4f2a9a860dd9292e97a77efd0813c71b20c6614c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -65,7 +65,7 @@
 
        <?php if ($_SESSION["uid"]) {
                $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
-               if ($theme && file_exists("themes/$theme")) {
+               if ($theme && theme_valid("$theme")) {
                        echo stylesheet_tag("themes/$theme");
                } else {
                        echo stylesheet_tag("themes/default.css");