NobuNobu
nobun****@users*****
2006年 11月 9日 (木) 16:29:51 JST
Index: xoops2jp/html/modules/legacy/admin/css.php diff -u xoops2jp/html/modules/legacy/admin/css.php:1.1.2.2 xoops2jp/html/modules/legacy/admin/css.php:1.1.2.3 --- xoops2jp/html/modules/legacy/admin/css.php:1.1.2.2 Wed Nov 8 21:26:31 2006 +++ xoops2jp/html/modules/legacy/admin/css.php Thu Nov 9 16:29:50 2006 @@ -4,9 +4,7 @@ require_once "../../../mainfile.php"; $root=&XCube_Root::getSingleton(); -$xoopsController=&$root->getController(); -// @todo using private method. -$xoopsController->_setupEnvironment(); +$root->mController->executeCommonSubset(false); // // @todo Why does this file know Legacy_RenderSystem? @@ -37,6 +35,7 @@ exit(); } require_once XOOPS_ROOT_PATH.'/modules/legacyRender/kernel/Legacy_AdminRenderSystem.class.php'; + $smarty =& new Legacy_AdminSmarty(); $smarty->register_modifier("theme", "Legacy_modifier_css_theme"); $smarty->register_function("stylesheet", "Legacy_function_stylesheet");