Browse Source

get_theme_path: fallback to css/default.css if default theme is selected

Andrew Dolgov 6 years ago
parent
commit
bfebf57c5f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/functions.php

+ 3 - 0
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;