mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 08:25:57 +00:00
get_theme_path: fallback to css/default.css if default theme is selected
This commit is contained in:
@@ -2425,6 +2425,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_theme_path($theme) {
|
function get_theme_path($theme) {
|
||||||
|
if ($theme == "default.php")
|
||||||
|
return "css/default.css";
|
||||||
|
|
||||||
$check = "themes/$theme";
|
$check = "themes/$theme";
|
||||||
if (file_exists($check)) return $check;
|
if (file_exists($check)) return $check;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user