--- fenglin/bbs/theme.inc.php 2025/04/12 11:36:58 1.9 +++ fenglin/bbs/theme.inc.php 2025/04/14 04:27:11 1.14 @@ -17,6 +17,19 @@ if (!defined("_BBS_THEME_INIT_")) "view/s_favor" => "s_favor.view.php", "view/section_setting" => "section_setting.view.php", "view/show_profile" => "show_profile.view.php", + "view/score_detail" => "score_detail.view.php", + "view/suicide" => "suicide.view.php", + ), + "xml" => array( + "xsl/1" => "xsl/1.xsl", + "view/view_article" => "view_article_xml.view.php", + ), + "gen_ex" => array( + "view/view_article" => "gen_ex_article.view.php", + ), + "portal" => array( + "css/default" => "../www/css/default.css", + "view/view_article" => "view_article.view.php", ), ); @@ -44,7 +57,7 @@ if (!defined("_BBS_THEME_INIT_")) return null; // View not exist } - $file = "./themes/" . $theme_name . "/" . $BBS_theme_set[$theme_name][$view_name]; + $file = "../bbs/themes/" . $theme_name . "/" . $BBS_theme_set[$theme_name][$view_name]; if (!file_exists($file)) {