Commit a334551435f1b23f1581e2e071e430f422efb5c2
1 parent
fe535ac6
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
ogc.php
@@ -849,12 +849,11 @@ if(strtolower($req->getValueByName("REQUEST")) == "getfeatureinfo" && $_GET["inf | @@ -849,12 +849,11 @@ if(strtolower($req->getValueByName("REQUEST")) == "getfeatureinfo" && $_GET["inf | ||
849 | getfeatureinfoJson(); | 849 | getfeatureinfoJson(); |
850 | exit; | 850 | exit; |
851 | } | 851 | } |
852 | - | ||
853 | if(strtolower($request) == "getcapabilities"){ | 852 | if(strtolower($request) == "getcapabilities"){ |
854 | - header('Content-Disposition: attachment; filename=getcapabilities.xml'); | 853 | + //header('Content-Disposition: attachment; filename=getcapabilities.xml'); |
855 | } | 854 | } |
856 | - | ||
857 | -if(!isset($OUTPUTFORMAT)){ | 855 | +elseif(!isset($OUTPUTFORMAT)){ |
856 | + //$contenttype = ms_iostripstdoutbuffercontenttype(); | ||
858 | header("Content-type: $contenttype"); | 857 | header("Content-type: $contenttype"); |
859 | } | 858 | } |
860 | //$ogrOutput vem de ms_configura.php | 859 | //$ogrOutput vem de ms_configura.php |