From: Andrew Dolgov Date: Tue, 9 Dec 2014 20:54:28 +0000 (+0300) Subject: disable version checking for night.css X-Git-Tag: 1.15.2 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=refs%2Ftags%2F1.15.2 disable version checking for night.css --- diff --git a/include/functions2.php b/include/functions2.php index 45c73b37..669bbe03 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -2426,7 +2426,7 @@ } 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)) {