[Mapbender-commits] r4892 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Oct 30 07:38:11 EDT 2009
Author: christoph
Date: 2009-10-30 07:38:11 -0400 (Fri, 30 Oct 2009)
New Revision: 4892
Modified:
trunk/mapbender/http/php/mod_setLocale.php
Log:
Modified: trunk/mapbender/http/php/mod_setLocale.php
===================================================================
--- trunk/mapbender/http/php/mod_setLocale.php 2009-10-30 11:37:34 UTC (rev 4891)
+++ trunk/mapbender/http/php/mod_setLocale.php 2009-10-30 11:38:11 UTC (rev 4892)
@@ -20,10 +20,9 @@
require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
require_once(dirname(__FILE__) . "/../classes/class_locale.php");
-Mapbender::session()->set("mb_lang", Mapbender::session()->get("lang"));
+Mapbender::session()->set("mb_lang", $_POST["lang"]);
$localeObj = new Mb_locale(Mapbender::session()->get("mb_lang"));
-session_write_close();
header("Content-type='text/plain';Charset=utf-8");
echo $localeObj->name;
More information about the Mapbender_commits
mailing list