summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-25 12:17:41 +0300
committerAndrew Dolgov <[email protected]>2017-01-25 12:17:41 +0300
commite432b8fbe2a134e14b7e79960b17273c39795789 (patch)
tree310673ebcae3b79613df3beffbbc4669327fa221 /include
parent7c04f8afebd9eec1114773a06ebffd9a827a3d98 (diff)
implement cache-busting for default theme.css
night theme: small fixes
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 04e3c5140..d06a7a710 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -2428,7 +2428,7 @@
}
function theme_valid($theme) {
- if ($theme == "default.css" || $theme == "night.css") return true; // needed for array_filter
+ if ($theme == "default.php" || $theme == "night.css") return true; // needed for array_filter
$file = "themes/" . basename($theme);
if (!file_exists($file)) $file = "themes.local/" . basename($theme);