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

uli at osgeo.org uli at osgeo.org
Wed May 3 04:47:25 EDT 2006


Author: uli
Date: 2006-05-03 08:47:24+0000
New Revision: 160

Modified:
   trunk/mapbender/http/classes/class_wms.php   (contents, props changed)

Log:
owsporxy url-replacement modified

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=160&p1=trunk/mapbender/http/classes/class_wms.php&p2=trunk/mapbender/http/classes/class_wms.php&r1=159&r2=160
==============================================================================
--- trunk/mapbender/http/classes/class_wms.php	(original)
+++ trunk/mapbender/http/classes/class_wms.php	2006-05-03 08:47:24+0000
@@ -1,6 +1,6 @@
 <?php
-# $Id: class_wms.php,v 1.31 2006/04/06 07:34:07 astrid_emde Exp $
-# $Header: /cvsroot/mapbender/mapbender/http/classes/class_wms.php,v 1.31 2006/04/06 07:34:07 astrid_emde Exp $
+# $Id$
+# http://www.mapbender.org/index.php/class_wms
 # Copyright (C) 2002 CCGIS 
 #
 # This program is free software; you can redistribute it and/or modify
@@ -1120,14 +1120,17 @@
 			$this->wms_title =  $row2["wms_title"];
 			$this->wms_abstract =  $row2["wms_abstract"];
 			if($row2["wms_owsproxy"] != ""){
-				$this->wms_getmap =  $row2["wms_owsproxy"];
+				$t = OWSPROXY."/".session_id()."/".$row2["wms_owsproxy"]."?";
+				$this->wms_getmap = $t;
+				$this->wms_getcapabilities =  $t;
+				$this->wms_getfeatureinfo = $t;
 			}
 			else{
 				$this->wms_getmap =  $row2["wms_getmap"];
-			}
-			$this->wms_getcapabilities =  $row2["wms_getcapabilities"];
+				$this->wms_getcapabilities =  $row2["wms_getcapabilities"];
+				$this->wms_getfeatureinfo = $row2["wms_getfeatureinfo"];
+			}			
 			$this->wms_getcapabilities_doc = $row2["wms_getcapabilities_doc"];
-			$this->wms_getfeatureinfo = $row2["wms_getfeatureinfo"];
 			$this->wms_getlegendurl = $row2["wms_getlegendurl"];
 			$this->wms_filter = $row2["wms_filter"];
 			$count_wms++;




More information about the Mapbender_commits mailing list