function _processModule() { if ($this->mRoot->mContext->mModule != null) { $module =& $this->mRoot->mContext->mModule; if (!$module->isActive()) { /** * Notify that the current user accesses none-activate module * controller. */ XCube_DelegateUtils::call('Legacy.Event.Exception.ModuleNotActive', $module); $this->executeForward(XOOPS_URL . '/'); die; } if (!$this->_mStrategy->enableAccess()) { XCube_DelegateUtils::call('Legacy.Event.Exception.ModuleSecurity', $module); $this->executeRedirect(XOOPS_URL . '/user.php', 1, _NOPERM); // TODO Depens on const message catalog. die; } $this->_mStrategy->setupModuleLanguage(); $module->startup(); $GLOBALS['xoopsModule'] =& $module->mXoopsModule; $GLOBALS['xoopsModuleConfig'] =& $module->mModuleConfig; } Legacy_Utils::raiseUserControlEvent(); }