diff options
author | Andrew Dolgov <[email protected]> | 2017-12-03 14:17:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-03 14:17:25 +0300 |
commit | bfebf57c5f9cb73c26e0a8faf187db2e257503e1 (patch) | |
tree | 6a8ceb88b51c6cc2a9647b9d2ae6890e3dc44728 | |
parent | 2cf93c046c790005e66670c5c4bfe5b6b3e72a67 (diff) |
get_theme_path: fallback to css/default.css if default theme is selected
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; |