[Mapbender-commits] r10028 - trunk/mapbender/core

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jan 17 08:45:21 PST 2019


Author: armin11
Date: 2019-01-17 08:45:21 -0800 (Thu, 17 Jan 2019)
New Revision: 10028

Modified:
   trunk/mapbender/core/globalSettings.php
Log:
Fix for using the option to define own session names per mapbender instance

Modified: trunk/mapbender/core/globalSettings.php
===================================================================
--- trunk/mapbender/core/globalSettings.php	2019-01-17 16:29:08 UTC (rev 10027)
+++ trunk/mapbender/core/globalSettings.php	2019-01-17 16:45:21 UTC (rev 10028)
@@ -26,9 +26,11 @@
 //
 // initiates the session-handling
 //
-session_start();
 if (defined("SESSION_NAME") && is_string(SESSION_NAME)) {
 	session_name(SESSION_NAME);
+        session_start();
+} else {
+        session_start();
 }
 
 //



More information about the Mapbender_commits mailing list