onokazu
onoka****@users*****
2006年 7月 27日 (木) 08:49:42 JST
Index: xoops2jp/extras/login.php diff -u xoops2jp/extras/login.php:1.4 xoops2jp/extras/login.php:1.4.2.1 --- xoops2jp/extras/login.php:1.4 Mon May 1 11:37:24 2006 +++ xoops2jp/extras/login.php Thu Jul 27 08:49:42 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();