onokazu
onoka****@users*****
2006年 8月 1日 (火) 11:55:25 JST
Index: xoops2jp/extras/login.php diff -u xoops2jp/extras/login.php:1.4 xoops2jp/extras/login.php:1.5 --- xoops2jp/extras/login.php:1.4 Mon May 1 11:37:24 2006 +++ xoops2jp/extras/login.php Tue Aug 1 11:55:25 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();