[fusion-commits] r1369 - trunk/MapGuide/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Apr 9 13:50:37 EDT 2008


Author: madair
Date: 2008-04-09 13:50:36 -0400 (Wed, 09 Apr 2008)
New Revision: 1369

Modified:
   trunk/MapGuide/php/Common.php
   trunk/MapGuide/php/Query.php
Log:
exclude redline layers from queries;
exception handlers should return HTTP status 200 

Modified: trunk/MapGuide/php/Common.php
===================================================================
--- trunk/MapGuide/php/Common.php	2008-04-08 20:38:49 UTC (rev 1368)
+++ trunk/MapGuide/php/Common.php	2008-04-09 17:50:36 UTC (rev 1369)
@@ -118,7 +118,6 @@
     echo "</Exception>";
     exit;
 } catch (MgUserNotFoundException $unfe) {
-    header("HTTP/1.0 500 Internal Server Error");
     header('Content-type: text/xml');
     echo "<Exception>";
     echo "<Type>User Not Found</Type>";

Modified: trunk/MapGuide/php/Query.php
===================================================================
--- trunk/MapGuide/php/Query.php	2008-04-08 20:38:49 UTC (rev 1368)
+++ trunk/MapGuide/php/Query.php	2008-04-09 17:50:36 UTC (rev 1369)
@@ -115,6 +115,7 @@
 
             $className = $layerObj->GetFeatureClassName();
             if (!$layerObj->GetSelectable() || !$layerObj->IsVisible() ||
+                $className=='RedlineSchema:Redline' ||
                 !$className || $className=='rasters:RasterType' ||$className=='') {
                 continue;
             }



More information about the fusion-commits mailing list