disable version checking for night.css
This commit is contained in:
parent
e054faa182
commit
21d7585a54
|
@ -2426,7 +2426,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function theme_valid($file) {
|
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);
|
$file = "themes/" . basename($file);
|
||||||
|
|
||||||
if (file_exists($file) && is_readable($file)) {
|
if (file_exists($file) && is_readable($file)) {
|
||||||
|
|
Loading…
Reference in New Issue