onokazu
onoka****@users*****
2006年 7月 27日 (木) 09:34:59 JST
Index: xoops2jp/extras/login.php diff -u xoops2jp/extras/login.php:1.4 xoops2jp/extras/login.php:1.4.4.1 --- xoops2jp/extras/login.php:1.4 Mon May 1 11:37:24 2006 +++ xoops2jp/extras/login.php Thu Jul 27 09:34:59 2006 @@ -62,6 +62,8 @@ $user->setVar('last_login', time()); if (!$member_handler->insertUser($user)) { } + require_once XOOPS_ROOT_PATH . '/include/session.php'; + xoops_session_regenerate(); $_SESSION = array(); $_SESSION['xoopsUserId'] = $user->getVar('uid'); $_SESSION['xoopsUserGroups'] = $user->getGroups();