]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pref/prefs.php
implement cache-busting for default theme.css
[tt-rss.git] / classes / pref / prefs.php
index 1988649a5a0e7d6c74a5f13f71e49e609b3a3732..bf4d6e42e7d430d4d0618b6e1047a11749c7c16a 100644 (file)
@@ -565,7 +565,7 @@ class Pref_Prefs extends Handler_Protected {
 
                        } else if ($pref_name == "USER_CSS_THEME") {
 
-                               $themes = array_merge(glob("themes/*.css"), glob("themes.local/*.css"));
+                               $themes = array_merge(glob("themes/*.php"), glob("themes/*.css"), glob("themes.local/*.css"));
                                $themes = array_map("basename", $themes);
                                $themes = array_filter($themes, "theme_valid");
                                asort($themes);