mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 15:01:28 +00:00
implement cache-busting for default theme.css
night theme: small fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user