From bfebf57c5f9cb73c26e0a8faf187db2e257503e1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 3 Dec 2017 14:17:25 +0300 Subject: get_theme_path: fallback to css/default.css if default theme is selected --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 54fa2bd9d..531653f93 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; -- cgit v1.2.3