[xoops-cvslog 4424] CVS update: xoops2jp/html/modules/user/kernel

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 9月 2日 (土) 15:09:55 JST


Index: xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php
diff -u xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.9 xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.10
--- xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php:1.1.2.9	Sun Aug 27 12:13:42 2006
+++ xoops2jp/html/modules/user/kernel/LegacypageFunctions.class.php	Sat Sep  2 15:09:54 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: LegacypageFunctions.class.php,v 1.1.2.9 2006/08/27 03:13:42 minahito Exp $
+ * @version $Id: LegacypageFunctions.class.php,v 1.1.2.10 2006/09/02 06:09:54 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -161,6 +161,15 @@
 		$_SESSION = array();
 		$_SESSION['xoopsUserId'] = $xoopsUser->get('uid');
 		$_SESSION['xoopsUserGroups'] = $xoopsUser->getGroups();
+		
+		//
+		// Use 'mysession'
+		//
+		$xoopsConfig = $root->mController->getConfig();
+		
+		if ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '') {
+			setcookie($xoopsConfig['session_name'], session_id(), time() + (60 * $xoopsConfig['session_expire']), '/', '', 0);
+		}
 	}
 	
     function checkLoginSuccess(&$xoopsUser)


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index