[Mapbender-commits] r7079 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 29 10:51:32 EDT 2010


Author: verenadiewald
Date: 2010-10-29 07:51:32 -0700 (Fri, 29 Oct 2010)
New Revision: 7079

Modified:
   trunk/mapbender/http/print/mod_printPDF_pdf.php
Log:
committed in wrong svn, undoing changes

Modified: trunk/mapbender/http/print/mod_printPDF_pdf.php
===================================================================
--- trunk/mapbender/http/print/mod_printPDF_pdf.php	2010-10-29 14:49:33 UTC (rev 7078)
+++ trunk/mapbender/http/print/mod_printPDF_pdf.php	2010-10-29 14:51:32 UTC (rev 7079)
@@ -145,8 +145,8 @@
 else{
    $urls = $_REQUEST["map_url"];
 }
-include (dirname(__FILE__)."/../classes/class_mb_exception.php");
 
+
 $array_urls = explode("___", $urls);
 
 $myURL = new stripRequest($array_urls[0]);
@@ -158,11 +158,8 @@
 		$m = new stripRequest($array_urls[$i]);
 		$m->set('width',(intval($m->get('width'))*4));
 		$m->set('height',(intval($m->get('height'))*4));
-		$e = new mb_exception($m->get('map'));
 		if(in_array($m->get('map'),$highqualitymapfiles)){	
-			$m->set('map',$m->get('map')."_4");
-			$e = new mb_exception($m->get('map'));
-			//$m->set('map',preg_replace("/\.map/","_4.map",$m->get('map')));			
+			$m->set('map',preg_replace("/\.map/","_4.map",$m->get('map')));			
 		}
 		$array_urls[$i] = $m->url;
 	}



More information about the Mapbender_commits mailing list