Minahito
minah****@users*****
2006年 10月 7日 (土) 17:26:33 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.79.2.9 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.10 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.9 Sat Oct 7 16:46:57 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Sat Oct 7 17:26:33 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.9 2006/10/07 07:46:57 minahito Exp $ + * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.10 2006/10/07 08:26:33 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -389,7 +389,13 @@ { if ($this->mRoot->mContext->mModule != null) { if (!$this->mRoot->mContext->mModule->isActive()) { - die('NOT ACTIVE'); ///< @todo + /** + * Notify that the current user accesses none-activate module + * controller. + */ + XCube_DelegateUtils::call('Legacy.Event.ModuleNotActive'); + $this->executeForward(XOOPS_URL); + die(); } if (!$this->_mStrategy->enableAccess()) {