瀏覽代碼

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

Andrew Dolgov 6 年之前
父節點
當前提交
bfebf57c5f
共有 1 個文件被更改,包括 3 次插入0 次删除
  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;