Minahito
minah****@users*****
2006年 9月 2日 (土) 16:32:08 JST
Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.10 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.11 --- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.10 Sat Sep 2 15:09:54 2006 +++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php Sat Sep 2 16:32:08 2006 @@ -1,7 +1,7 @@ <?php /** * @package user - * @version $Id: LegacypageFunctions.class.php,v 1.1.2.10 2006/09/02 06:09:54 minahito Exp $ + * @version $Id: LegacypageFunctions.class.php,v 1.1.2.11 2006/09/02 07:32:08 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -158,6 +158,8 @@ // // Regist to session // + require_once XOOPS_ROOT_PATH . '/include/session.php'; + xoops_session_regenerate(); $_SESSION = array(); $_SESSION['xoopsUserId'] = $xoopsUser->get('uid'); $_SESSION['xoopsUserGroups'] = $xoopsUser->getGroups();