[Mapbender-commits] r5218 - branches/2.6/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Dec 21 04:43:21 EST 2009
Author: astrid_emde
Date: 2009-12-21 04:43:20 -0500 (Mon, 21 Dec 2009)
New Revision: 5218
Modified:
branches/2.6/http/php/mod_map_messages.php
Log:
$_Session[] instead of Mapbender::session ... it comes with 2.7
Modified: branches/2.6/http/php/mod_map_messages.php
===================================================================
--- branches/2.6/http/php/mod_map_messages.php 2009-12-18 21:00:37 UTC (rev 5217)
+++ branches/2.6/http/php/mod_map_messages.php 2009-12-21 09:43:20 UTC (rev 5218)
@@ -20,8 +20,8 @@
require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
require_once(dirname(__FILE__)."/../classes/class_json.php");
-$e = new mb_notice("locale: " . Mapbender::session()->get("mb_locale") . "; lang: " . Mapbender::session()->get("mb_lang"));
-$e = new mb_notice(setlocale(LC_ALL, Mapbender::session()->get("mb_locale")));
+$e = new mb_notice("locale: " . $_SESSION["mb_locale"] . "; lang: " . $_SESSION["mb_lang"]);
+$e = new mb_notice(setlocale(LC_ALL, $_SESSION["mb_locale"]));
//
// Messages
More information about the Mapbender_commits
mailing list