NobuNobu
nobun****@users*****
2006年 1月 27日 (金) 23:49:57 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.21 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.22 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.21 Fri Jan 27 18:30:56 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Fri Jan 27 23:49:57 2006 @@ -42,6 +42,9 @@ $adminStateFlag=true; } } + elseif(substr($urlInfo[0], 0, 9) == "admin.php") { + $adminStateFlag=true; + } $this->_mControllerState= $adminStateFlag ? new BaseControllerAdminState() : new BaseControllerPublicState(); }