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/?a=commitdiff_plain;h=21d7585a54925f845cd90c4967dd19b3ad92bb02;p=tt-rss.git 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)) {