Minahito
minah****@users*****
2006年 1月 29日 (日) 14:58:16 JST
Index: xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php diff -u xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.15 xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.16 --- xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php:1.1.2.15 Fri Jan 27 18:28:34 2006 +++ xoops2jp/html/modules/base/class/Legacy_AdminRenderSystem.class.php Sun Jan 29 14:58:16 2006 @@ -37,6 +37,14 @@ $this->register_modifier("theme", "Legacy_modifier_theme"); $this->register_function("stylesheet", "Legacy_function_stylesheet"); + + // + // [TODO] + // If we don't set true to the following flag, a user can not recover + // with deleting additional theme. But, a user should to select true or + // false by site_custom.ini.php. + // + $this->force_compile = false; } function setModulePrefix($prefix) @@ -54,12 +62,12 @@ { $_return = false; + $root =& XCube_Root::getSingleton(); $theme = $root->mSiteConfig['Legacy']['Theme']; - $overridePath = XOOPS_THEME_PATH . "/" . $theme . "/modules/" . $dirname; $dirname = $this->mModulePrefix; if ($dirname != null) { - $params['resource_base_path'] = $overridePath; + $params['resource_base_path'] = XOOPS_THEME_PATH . "/" . $theme . "/modules/" . $dirname; $params['quiet'] = true; $_return = parent::_fetch_resource_info($params);