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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user