Minahito
minah****@users*****
2006年 7月 19日 (水) 20:01:00 JST
Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.2 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.3 --- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.2 Wed Jul 19 19:28:35 2006 +++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php Wed Jul 19 20:00:59 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LegacypageFunctions.class.php,v 1.1.2.2 2006/07/19 10:28:35 minahito Exp $ + * @version $Id: LegacypageFunctions.class.php,v 1.1.2.3 2006/07/19 11:00:59 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -80,16 +80,16 @@ * directly. If the current user is registered user, kick out to the top * page. Else, forward to the lost-pass page. */ - function AccessToLostpass() + function lostpass() { $root =& XCube_Root::getSingleton(); $xoopsUser =& $root->mController->getXoopsUser(); if (is_object($xoopsUser)) { - $controller->executeForward(XOOPS_URL); + $root->mController->executeForward(XOOPS_URL); } else { - $controller->executeForward(XOOPS_MODULE_URL . "/user/index.php?action=LostPass"); + $root->mController->executeForward(XOOPS_MODULE_URL . "/user/index.php?action=LostPass"); } }