Minahito
minah****@users*****
2006年 11月 12日 (日) 14:19:13 JST
Index: xoops2jp/html/modules/legacy/preload/IndexRedirector.class.php diff -u xoops2jp/html/modules/legacy/preload/IndexRedirector.class.php:1.1.2.2 xoops2jp/html/modules/legacy/preload/IndexRedirector.class.php:1.1.2.3 --- xoops2jp/html/modules/legacy/preload/IndexRedirector.class.php:1.1.2.2 Sun Oct 15 01:42:26 2006 +++ xoops2jp/html/modules/legacy/preload/IndexRedirector.class.php Sun Nov 12 14:19:13 2006 @@ -18,7 +18,7 @@ if ($startPage != null && $startPage != "--") { $handler =& xoops_gethandler('module'); $module =& $handler->get($startPage); - if (is_object($module)) { + if (is_object($module) && $module->get('isactive')) { $this->mController->executeForward(XOOPS_URL . '/modules/' . $module->getShow('dirname') . '/'); } }