[Mapbender-commits] r9127 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Nov 21 04:05:34 PST 2014


Author: armin11
Date: 2014-11-21 04:05:33 -0800 (Fri, 21 Nov 2014)
New Revision: 9127

Modified:
   trunk/mapbender/http/php/wms.php
Log:
Bugfix for wms proxy - wms_getlegendurl handling

Modified: trunk/mapbender/http/php/wms.php
===================================================================
--- trunk/mapbender/http/php/wms.php	2014-11-19 14:07:57 UTC (rev 9126)
+++ trunk/mapbender/http/php/wms.php	2014-11-21 12:05:33 UTC (rev 9127)
@@ -303,14 +303,14 @@
 			$tmpOR = str_replace(SERVERIP, SERVERNAME, $tmpOR);
 			$wms_row['wms_getmap'] = $tmpOR;
 			$wms_row['wms_getfeatureinfo'] = $tmpOR;
-			$wms_row['wms_getlegendgraphics'] = $tmpOR;
+			$wms_row['wms_getlegendurl'] = $tmpOR;
 		} else {
 			//use http_auth
 			$tmpOR = $urlPrefix.$_SERVER["HTTP_HOST"]."/http_auth/".$layerId."?";
 			$tmpOR = str_replace(SERVERIP, SERVERNAME, $tmpOR);
 			$wms_row['wms_getmap'] = $tmpOR;
 			$wms_row['wms_getfeatureinfo'] = $tmpOR;
-			$wms_row['wms_getlegendgraphics'] = $tmpOR;
+			$wms_row['wms_getlegendurl'] = $tmpOR;
 		}
 	}	
 	else {
@@ -319,7 +319,7 @@
 		$tmpOR = str_replace(SERVERIP, SERVERNAME, $tmpOR);
 		$wms_row['wms_getmap'] = $tmpOR;
 		$wms_row['wms_getfeatureinfo'] = $tmpOR;
-		$wms_row['wms_getlegendgraphics'] = $tmpOR;
+		$wms_row['wms_getlegendurl'] = $tmpOR;
 	}
 } 
 



More information about the Mapbender_commits mailing list