From e432b8fbe2a134e14b7e79960b17273c39795789 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 25 Jan 2017 12:17:41 +0300 Subject: implement cache-busting for default theme.css night theme: small fixes --- include/functions2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions2.php') 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); -- cgit v1.2.3