Minahito
minah****@users*****
2006年 8月 4日 (金) 13:36:39 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.9 xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.10 --- xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php:1.1.2.9 Fri Jul 28 17:58:27 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_EventFunctions.class.php Fri Aug 4 13:36:39 2006 @@ -1,7 +1,7 @@ <?php /** * @package legacy - * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.9 2006/07/28 08:58:27 minahito Exp $ + * @version $Id: Legacy_EventFunctions.class.php,v 1.1.2.10 2006/08/04 04:36:39 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -13,6 +13,8 @@ require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php"; $root =& XCube_Root::getSingleton(); + $root->mController->mModuleController->setupModuleObject('base'); + $root->mController->mModuleController->setupRenderTarget(); $moduleRunner =& new Legacy_ActionFrame(false); @@ -32,6 +34,8 @@ require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php"; $root =& XCube_Root::getSingleton(); + $root->mController->mModuleController->setupModuleObject('base'); + $root->mController->mModuleController->setupRenderTarget(); $moduleRunner =& new Legacy_ActionFrame(false); $moduleRunner->setActionName('Backend'); @@ -48,6 +52,8 @@ require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php"; $root =& XCube_Root::getSingleton(); + $root->mController->mModuleController->setupModuleObject('base'); + $root->mController->mModuleController->setupRenderTarget(); $moduleRunner =& new Legacy_ActionFrame(false); $moduleRunner->setMode(LEGACY_FRAME_MODE_SEARCH); @@ -66,6 +72,8 @@ require_once XOOPS_BASE_PATH . "/class/ActionFrame.class.php"; $root =& XCube_Root::getSingleton(); + $root->mController->mModuleController->setupModuleObject('base'); + $root->mController->mModuleController->setupRenderTarget(); $actionName = isset($_REQUEST['type']) ? ucfirst(xoops_getrequest('type')) : "Smilies"; @@ -87,6 +95,8 @@ require_once XOOPS_BASE_PATH . "/class/ActionFrame.class.php"; $root =& XCube_Root::getSingleton(); + $root->mController->mModuleController->setupModuleObject('base'); + $root->mController->mModuleController->setupRenderTarget(); // // 'Notify' is prefix to guard accessing from misc.php.