svn commit: r710 - trunk/mapbender/http/classes/class_SaveLegend.php
astrid_emde at osgeo.org
astrid_emde at osgeo.org
Fri Jul 28 03:54:46 EDT 2006
Author: astrid_emde
Date: 2006-07-28 07:54:45+0000
New Revision: 710
Modified:
trunk/mapbender/http/classes/class_SaveLegend.php
Log:
the legendurl is not validated anymore
Modified: trunk/mapbender/http/classes/class_SaveLegend.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_SaveLegend.php?view=diff&rev=710&p1=trunk/mapbender/http/classes/class_SaveLegend.php&p2=trunk/mapbender/http/classes/class_SaveLegend.php&r1=709&r2=710
==============================================================================
--- trunk/mapbender/http/classes/class_SaveLegend.php (original)
+++ trunk/mapbender/http/classes/class_SaveLegend.php 2006-07-28 07:54:45+0000
@@ -32,7 +32,7 @@
if(!$url || $url == ""){
$e = new mb_exception("SaveLegend: no legendurl delivered");
}
- $obj1 = new stripRequest($url);
+ #$obj1 = new stripRequest($url);
$size = getimagesize($url);
$width = $size[0];
$height = $size[1];
@@ -41,9 +41,6 @@
$white = ImageColorAllocate($image,255,255,255);
ImageFilledRectangle($image,0,0,$width,$height,$white);
- $obj = new stripRequest($url);
- $url = $obj->setPNG();
- //$url = $obj->encodeGET(); entfernt AE
$img = $this->loadpng($url);
if($img != false){
imagecopy($image, $img, 0, 0, 0, 0, $width, $height);
More information about the Mapbender_commits
mailing list