1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

implement cache-busting for default theme.css

night theme: small fixes
This commit is contained in:
Andrew Dolgov
2017-01-25 12:17:41 +03:00
parent 7c04f8afeb
commit e432b8fbe2
6 changed files with 21 additions and 7 deletions

View 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);