Minahito
minah****@users*****
2006年 10月 15日 (日) 01:38:12 JST
Index: xoops2jp/html/modules/legacy/kernel/Legacy_AdminControllerStrategy.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.1 xoops2jp/html/modules/legacy/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.2 --- xoops2jp/html/modules/legacy/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.1 Sat Oct 14 23:55:24 2006 +++ xoops2jp/html/modules/legacy/kernel/Legacy_AdminControllerStrategy.class.php Sun Oct 15 01:38:12 2006 @@ -65,7 +65,7 @@ function setupModuleContext(&$context, $dirname) { if ($dirname == null) { - $dirname = 'base'; + $dirname = 'legacy'; } parent::setupModuleContext(&$context, $dirname); @@ -73,8 +73,8 @@ function setupBlock() { - require_once XOOPS_BASE_PATH . "/admin/blocks/AdminActionSearch.class.php"; - require_once XOOPS_BASE_PATH . "/admin/blocks/AdminSideMenu.class.php"; + require_once XOOPS_LEGACY_PATH . "/admin/blocks/AdminActionSearch.class.php"; + require_once XOOPS_LEGACY_PATH . "/admin/blocks/AdminSideMenu.class.php"; $this->mController->_mBlockChain[] =& new Legacy_AdminActionSearch(); $this->mController->_mBlockChain[] =& new Legacy_AdminSideMenu(); @@ -111,7 +111,7 @@ function &getMainThemeObject() { - $handler =& xoops_getmodulehandler('theme', 'base'); + $handler =& xoops_getmodulehandler('theme', 'legacy'); $theme =& $handler->create(); // @@ -139,7 +139,7 @@ if ($this->mController->mRoot->mContext->mModule != null) { $dirname = $this->mController->mRoot->mContext->mXoopsModule->get('dirname'); - if ($dirname == 'base') { + if ($dirname == 'legacy') { return $principal->isInRole('Site.Administrator'); }