NobuNobu
nobun****@users*****
2006年 8月 20日 (日) 12:08:28 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.69 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.70 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.69 Sat Aug 19 12:33:25 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Sun Aug 20 12:08:28 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_Controller.class.php,v 1.1.2.69 2006/08/19 03:33:25 minahito Exp $ + * @version $Id: Legacy_Controller.class.php,v 1.1.2.70 2006/08/20 03:08:28 nobunobu Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -518,9 +518,8 @@ $this->mConfig=&$configHandler->getConfigsByCat(XOOPS_CONF); $this->setMainTheme($this->mConfig['theme_set']); - if ($this->mLanguage) { - $this->mConfig['language'] = $this->mLanguage; - } + $this->mConfig['language'] = $this->mRoot->mLanguageManager->getLanguage(); + $GLOBALS['xoopsConfig']=&$this->mConfig; }