]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
disable version checking for night.css
[tt-rss.git] / include / functions2.php
index 45c73b3736487df1d46af8a11035b6e6cf941664..669bbe038634c83cddd42532b13f623f6041d3b9 100644 (file)
        }
 
        function theme_valid($file) {
-               if ($file == "default.css") return true; // needed for array_filter
+               if ($file == "default.css" || $file == "night.css") return true; // needed for array_filter
                $file = "themes/" . basename($file);
 
                if (file_exists($file) && is_readable($file)) {