From 21d7585a54925f845cd90c4967dd19b3ad92bb02 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 9 Dec 2014 23:54:28 +0300 Subject: [PATCH] disable version checking for night.css --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5