]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable version checking for night.css 1.15.2
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 9 Dec 2014 20:54:28 +0000 (23:54 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 9 Dec 2014 20:54:28 +0000 (23:54 +0300)
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)) {