Minahito
minah****@users*****
2006年 10月 6日 (金) 15:48:59 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.79.2.5 xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.6 --- xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php:1.1.2.79.2.5 Thu Oct 5 19:18:13 2006 +++ xoops2jp/html/modules/base/kernel/Legacy_Controller.class.php Fri Oct 6 15:48:59 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.5 2006/10/05 10:18:13 minahito Exp $ + * @version $Id: Legacy_Controller.class.php,v 1.1.2.79.2.6 2006/10/06 06:48:59 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -576,12 +576,12 @@ { $configHandler=&xoops_gethandler('config'); $this->mConfig=&$configHandler->getConfigsByCat(XOOPS_CONF); - $this->mRoot->mContext =& $this->mConfig; + $this->mRoot->mContext->mXoopsConfig =& $this->mConfig; $this->setTheme($this->mConfig['theme_set']); $this->mConfig['language'] = $this->mRoot->mLanguageManager->getLanguage(); - $GLOBALS['xoopsConfig'] =& $this->mRoot->mContext; + $GLOBALS['xoopsConfig'] =& $this->mRoot->mContext->mXoopsConfig; $GLOBALS['config_handler'] =& $configHandler; }