Minahito
minah****@users*****
2006年 10月 6日 (金) 18:47:36 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_AdminControllerStrategy.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.3 --- xoops2jp/html/modules/base/kernel/Legacy_AdminControllerStrategy.class.php:1.1.2.2 Fri Oct 6 17:27:55 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_AdminControllerStrategy.class.php Fri Oct 6 18:47:36 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_AdminControllerStrategy.class.php,v 1.1.2.2 2006/10/06 08:27:55 minahito Exp $ + * @version $Id: Legacy_AdminControllerStrategy.class.php,v 1.1.2.3 2006/10/06 09:47:36 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -145,7 +145,7 @@ if ($this->mController->mRoot->mContext->mModule != null) { $dirname = $this->mController->mRoot->mContext->mXoopsModule->get('dirname'); - if ($dirname == 'base' || $dirname == 'system') { + if ($dirname == 'base') { return $principal->isInRole('Site.Administrator'); }