summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-12-09 23:54:28 +0300
committerAndrew Dolgov <[email protected]>2014-12-09 23:54:28 +0300
commit21d7585a54925f845cd90c4967dd19b3ad92bb02 (patch)
treec90ff331d9a15e34d4235a83662dc233c8d74e86 /include
parente054faa1827955ca1a780ab32771071342621d4b (diff)
disable version checking for night.css
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 45c73b373..669bbe038 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)) {