Minahito
minah****@users*****
2006年 8月 18日 (金) 18:10:28 JST
Index: xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php diff -u xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.3 xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.4 --- xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php:1.1.2.3 Wed Aug 9 18:40:35 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_AdminModuleController.class.php Fri Aug 18 18:10:28 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_AdminModuleController.class.php,v 1.1.2.3 2006/08/09 09:40:35 minahito Exp $ + * @version $Id: Legacy_AdminModuleController.class.php,v 1.1.2.4 2006/08/18 09:10:28 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -97,6 +97,12 @@ // We must set $xoopsModule to some module that use $xoopsModule in message catalog file. // $GLOBALS['xoopsModule']=&$module; + + if ($module->get('hasconfig') == 1 || $module->get('hascomments') == 1) { + $configHandler =& xoops_gethandler('config'); + $this->mConfig =& $configHandler->getConfigsByCat(0, $module->get('mid')); + } + $GLOBALS['xoopsModuleConfig'] =& $this->mConfig; $dmy =& $module->getInfo();