From a334551435f1b23f1581e2e071e430f422efb5c2 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 25 Jun 2015 00:30:08 +0000 Subject: [PATCH] --- ogc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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