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

christoph at osgeo.org christoph at osgeo.org
Fri Jul 7 10:44:30 EDT 2006


Author: christoph
Date: 2006-07-07 14:44:30+0000
New Revision: 646

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

Log:
replaced "die;" by "return false;" to ensure the monitoring process is not terminated.

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=646&p1=trunk/mapbender/http/classes/class_wms.php&p2=trunk/mapbender/http/classes/class_wms.php&r1=645&r2=646
==============================================================================
--- trunk/mapbender/http/classes/class_wms.php	(original)
+++ trunk/mapbender/http/classes/class_wms.php	2006-07-07 14:44:30+0000
@@ -57,7 +57,8 @@
 	$data = $x->file;
 	if(!$data){
 		echo "Unable to open document: ".$url;
-		die; 
+		return false;
+		//die; 
 	}
 	
 	$this->wms_getcapabilities_doc = $this->char_encode($data);




More information about the Mapbender_commits mailing list