[Mapbender-commits] r4107 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 23 13:57:39 EDT 2009


Author: uli
Date: 2009-06-23 13:57:39 -0400 (Tue, 23 Jun 2009)
New Revision: 4107

Modified:
   trunk/mapbender/http/classes/class_locale.php
Log:
$_SESSION changed to new session handling

Modified: trunk/mapbender/http/classes/class_locale.php
===================================================================
--- trunk/mapbender/http/classes/class_locale.php	2009-06-23 17:56:15 UTC (rev 4106)
+++ trunk/mapbender/http/classes/class_locale.php	2009-06-23 17:57:39 UTC (rev 4107)
@@ -104,8 +104,8 @@
 
 				if ($selectedLocale) {
 					$this->name = $selectedLocale;
-					$_SESSION["mb_lang"] = $languageId;
-					$_SESSION["mb_locale"] = $this->name;
+					$mapbender_session->set("mb_lang",$languageId);
+					$mapbender_session->set("mb_locale",$this->name);
 					$e = new Mb_notice("locale " . $this->name . " ok on " . $this->os);
 
 					// from http://de3.php.net/manual/de/function.gettext.php



More information about the Mapbender_commits mailing list