Minahito
minah****@users*****
2006年 5月 29日 (月) 16:33:36 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.38 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.39 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.38 Sun May 28 19:48:43 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Mon May 29 16:33:36 2006 @@ -836,9 +836,9 @@ } else { // - // If you does not have module_contoller, this request is to toppage. + // If you does not have module_contoller, this request is to toppage or other pages of toppage. // - $mid = -1; + $mid = preg_match("/index\.php$/i", xoops_getenv('PHP_SELF')) ? -1 : 0; } $blockHandler =& xoops_gethandler('block');