svn commit: r154 - trunk/mapbender/http/classes/class_wms.php

uli at osgeo.org uli at osgeo.org
Thu Apr 27 08:31:44 EDT 2006


Author: uli
Date: 2006-04-27 12:31:44+0000
New Revision: 154

Modified:
   trunk/mapbender/http/classes/class_wms.php

Log:
owsproxy handling included

Modified: trunk/mapbender/http/classes/class_wms.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_wms.php?view=diff&rev=154&p1=trunk/mapbender/http/classes/class_wms.php&p2=trunk/mapbender/http/classes/class_wms.php&r1=153&r2=154
==============================================================================
--- trunk/mapbender/http/classes/class_wms.php	(original)
+++ trunk/mapbender/http/classes/class_wms.php	2006-04-27 12:31:44+0000
@@ -1119,7 +1119,12 @@
 			$this->wms_version = $row2["wms_version"];
 			$this->wms_title =  $row2["wms_title"];
 			$this->wms_abstract =  $row2["wms_abstract"];
-			$this->wms_getmap =  $row2["wms_getmap"];
+			if($row2["wms_owsproxy"] != ""){
+				$this->wms_getmap =  $row2["wms_owsproxy"];
+			}
+			else{
+				$this->wms_getmap =  $row2["wms_getmap"];
+			}
 			$this->wms_getcapabilities =  $row2["wms_getcapabilities"];
 			$this->wms_getcapabilities_doc = $row2["wms_getcapabilities_doc"];
 			$this->wms_getfeatureinfo = $row2["wms_getfeatureinfo"];




More information about the Mapbender_commits mailing list