Minahito
minah****@users*****
2006年 10月 5日 (木) 19:18:14 JST
Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11.2.1 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11.2.2 --- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11.2.1 Thu Oct 5 18:11:24 2006 +++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php Thu Oct 5 19:18:14 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LegacypageFunctions.class.php,v 1.1.2.11.2.1 2006/10/05 09:11:24 minahito Exp $ + * @version $Id: LegacypageFunctions.class.php,v 1.1.2.11.2.2 2006/10/05 10:18:14 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -167,7 +167,7 @@ // // Use 'mysession' // - $xoopsConfig = $root->mController->getConfig(); + $xoopsConfig = $root->mContext->mXoopsConfig; if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') { setcookie($xoopsConfig['session_name'], session_id(), time() + (60 * $xoopsConfig['session_expire']), '/', '', 0); @@ -187,7 +187,7 @@ function logout(&$successFlag, $xoopsUser) { $root =& XCube_Root::getSingleton(); - $xoopsConfig = $root->mController->getConfig(); + $xoopsConfig = $root->mContext->mXoopsConfig; $root->mLanguageManager->loadModuleMessageCatalog('user');