Minahito
minah****@users*****
2006年 10月 2日 (月) 23:23:29 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 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.80 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79 Mon Sep 25 12:22:52 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Mon Oct 2 23:23:29 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_Controller.class.php,v 1.1.2.79 2006/09/25 03:22:52 minahito Exp $ + * @version $Id: Legacy_Controller.class.php,v 1.1.2.80 2006/10/02 14:23:29 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -356,7 +356,13 @@ if ($this->mModuleController->isModuleProcess()) { if (!$this->mModuleController->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->mModuleController->hasPermission()) {