Minahito
minah****@users*****
2006年 10月 5日 (木) 19:18:14 JST
Index: xoops2jp/html/modules/base/class/Legacy_ModuleAdapter.class.php diff -u xoops2jp/html/modules/base/class/Legacy_ModuleAdapter.class.php:1.1.2.9.2.1 xoops2jp/html/modules/base/class/Legacy_ModuleAdapter.class.php:1.1.2.9.2.2 --- xoops2jp/html/modules/base/class/Legacy_ModuleAdapter.class.php:1.1.2.9.2.1 Fri Sep 29 17:14:01 2006 +++ xoops2jp/html/modules/base/class/Legacy_ModuleAdapter.class.php Thu Oct 5 19:18:14 2006 @@ -110,7 +110,7 @@ // if ($this->mAdaptee->hasHelp()) { $root =& XCube_Root::getSingleton(); - $language = $root->mController->getConfig('language'); + $language = $root->mContext->getXoopsConfig('language'); $helpfile = $this->mAdaptee->getHelp(); $dir = XOOPS_MODULE_PATH . "/" . $this->mAdaptee->getVar('dirname') . "/language/" . $language; Index: xoops2jp/html/modules/base/class/commentstatus.php diff -u xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.3 xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.3.2.1 --- xoops2jp/html/modules/base/class/commentstatus.php:1.1.2.3 Sat Aug 26 16:15:14 2006 +++ xoops2jp/html/modules/base/class/commentstatus.php Thu Oct 5 19:18:14 2006 @@ -20,7 +20,7 @@ function BaseCommentstatusHandler(&$db) { $root =& XCube_Root::getSingleton(); - $language = $root->mController->getConfig('language'); + $language = $root->mContext->getXoopsConfig('language'); $root->mLanguageManager->loadPageTypeMessageCatalog('comment'); $this->_mResults[XOOPS_COMMENT_PENDING] =& $this->create();