[Mapbender-commits] r4157 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 04:33:39 EDT 2009
Author: vera
Date: 2009-06-25 04:33:39 -0400 (Thu, 25 Jun 2009)
New Revision: 4157
Modified:
trunk/mapbender/http/php/mod_export_image.php
Log:
session var angepasst
Modified: trunk/mapbender/http/php/mod_export_image.php
===================================================================
--- trunk/mapbender/http/php/mod_export_image.php 2009-06-25 08:30:37 UTC (rev 4156)
+++ trunk/mapbender/http/php/mod_export_image.php 2009-06-25 08:33:39 UTC (rev 4157)
@@ -20,8 +20,8 @@
import_request_variables("PG");
require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
-$_SESSION["mb_print_url"] = $map_url;
-$_SESSION["mb_print_resolution"] = $quality;
+Mapbender::session()->set("mb_print_url",$map_url);
+Mapbender::session()->set("mb_print_resolution",$quality);
header("Content-type: application/png"); // mark the following content as PNG file
$date = date("d.m.y");
header("Content-Disposition: attachment; filename=export".$date.".png");
More information about the Mapbender_commits
mailing list