[Mapbender-commits] r3571 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 18 12:32:35 EST 2009


Author: christoph
Date: 2009-02-18 12:32:34 -0500 (Wed, 18 Feb 2009)
New Revision: 3571

Modified:
   trunk/mapbender/http/classes/class_connector.php
Log:
check if XML is returned does not work for demo WFS...maybe we will have to check the WFS first. But this change is so minor I guess it won't do any harm

Modified: trunk/mapbender/http/classes/class_connector.php
===================================================================
--- trunk/mapbender/http/classes/class_connector.php	2009-02-18 16:30:38 UTC (rev 3570)
+++ trunk/mapbender/http/classes/class_connector.php	2009-02-18 17:32:34 UTC (rev 3571)
@@ -214,7 +214,8 @@
 		    $xmlstr = false;
 		    while (!feof($fp)) {
 		    	$content = fgets($fp,4096);
-		    	if( strpos($content, '<?xml') === 0){
+//		    	if( strpos($content, '<?xml') === 0){
+		    	if( strpos($content, '<') === 0){
 		    		$xmlstr = true;
 		    	}
 		    	if($xmlstr == true){



More information about the Mapbender_commits mailing list