disable version checking for night.css

This commit is contained in:
Andrew Dolgov 2014-12-09 23:54:28 +03:00
parent e054faa182
commit 21d7585a54
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {