diff --git a/ogc.php b/ogc.php index 784d2ae..603f1e0 100644 --- a/ogc.php +++ b/ogc.php @@ -849,12 +849,11 @@ if(strtolower($req->getValueByName("REQUEST")) == "getfeatureinfo" && $_GET["inf getfeatureinfoJson(); exit; } - if(strtolower($request) == "getcapabilities"){ - header('Content-Disposition: attachment; filename=getcapabilities.xml'); + //header('Content-Disposition: attachment; filename=getcapabilities.xml'); } - -if(!isset($OUTPUTFORMAT)){ +elseif(!isset($OUTPUTFORMAT)){ + //$contenttype = ms_iostripstdoutbuffercontenttype(); header("Content-type: $contenttype"); } //$ogrOutput vem de ms_configura.php -- libgit2 0.21.2