[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16186] allow custom session id
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16186] allow custom session id |
Date: |
Tue, 24 Jan 2017 10:08:08 -0500 (EST) |
Revision: 16186
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16186
Author: sigurdne
Date: 2017-01-24 10:08:08 -0500 (Tue, 24 Jan 2017)
Log Message:
-----------
allow custom session id
Modified Paths:
--------------
trunk/phpgwapi/inc/sso/include_login.inc.php
Modified: trunk/phpgwapi/inc/sso/include_login.inc.php
===================================================================
--- trunk/phpgwapi/inc/sso/include_login.inc.php 2017-01-24 09:23:55 UTC
(rev 16185)
+++ trunk/phpgwapi/inc/sso/include_login.inc.php 2017-01-24 15:08:08 UTC
(rev 16186)
@@ -14,6 +14,11 @@
/*
* Generic include for login.php like pages
*/
+ if(!empty( $GLOBALS['phpgw_info']['flags']['session_name'] ))
+ {
+ $session_name = $GLOBALS['phpgw_info']['flags']['session_name'];
+ }
+
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array
@@ -23,6 +28,10 @@
'currentapp' => 'login',
'noheader' => true
);
+ if($session_name)
+ {
+ $GLOBALS['phpgw_info']['flags']['session_name'] = $session_name;
+ }
$header = dirname(realpath(__FILE__)) . '/../../../header.inc.php';
if ( !file_exists($header) )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16186] allow custom session id,
sigurdne <=