Minahito
minah****@users*****
2006年 5月 25日 (木) 18:28:38 JST
Index: xoops2jp/html/modules/base/index.php diff -u /dev/null xoops2jp/html/modules/base/index.php:1.1.2.1 --- /dev/null Thu May 25 18:28:38 2006 +++ xoops2jp/html/modules/base/index.php Thu May 25 18:28:38 2006 @@ -0,0 +1,20 @@ +<?php + +require_once "../../mainfile.php"; +require_once XOOPS_ROOT_PATH . "/header.php"; +require_once XOOPS_MODULE_PATH . "/base/class/ActionFrame.class.php"; + +$root =& XCube_Root::getSingleton(); + +$actionName = isset($_GET['action']) ? trim($_GET['action']) : "Default"; + +$moduleRunner = new Legacy_ActionFrame(false); +$moduleRunner->setActionName($actionName); + +$root->mController->setActionStrategy($moduleRunner); + +$root->mController->executeAction(); + +require_once XOOPS_ROOT_PATH . "/footer.php"; + +?>