From: Andrew Dolgov Date: Sun, 3 Dec 2017 11:17:25 +0000 (+0300) Subject: get_theme_path: fallback to css/default.css if default theme is selected X-Git-Tag: 18.8~148 X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=commitdiff_plain;h=bfebf57c5f9cb73c26e0a8faf187db2e257503e1 get_theme_path: fallback to css/default.css if default theme is selected --- diff --git a/include/functions.php b/include/functions.php index 54fa2bd9..531653f9 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2425,6 +2425,9 @@ } function get_theme_path($theme) { + if ($theme == "default.php") + return "css/default.css"; + $check = "themes/$theme"; if (file_exists($check)) return $check;