[Mapbender-commits] r8218 - branches/2.6/owsproxy/http
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 30 04:57:40 EST 2011
Author: verenadiewald
Date: 2011-11-30 01:57:40 -0800 (Wed, 30 Nov 2011)
New Revision: 8218
Modified:
branches/2.6/owsproxy/http/index.php
Log:
correct header information for Content-Type
Modified: branches/2.6/owsproxy/http/index.php
===================================================================
--- branches/2.6/owsproxy/http/index.php 2011-11-29 07:18:21 UTC (rev 8217)
+++ branches/2.6/owsproxy/http/index.php 2011-11-30 09:57:40 UTC (rev 8218)
@@ -188,9 +188,9 @@
* @return string the content of the FeatureInfo document
*/
function getFeatureInfo($url){
- global $info_format;
+ global $reqParams;
//$e = new mb_notice("owsproxy: Try to fetch FeatureInfoRequest: ".$url);
- header("Content-Type: ".$info_format);
+ header("Content-Type: ".$reqParams['info_format']);
$content = getDocumentContent($url);
$content = matchUrls($content);
echo $content;
@@ -203,9 +203,9 @@
* @return echo the content of the GetFeature document
*/
function getFeature($url){
- global $info_format;
-
- header("Content-Type: ".$info_format);
+ global $reqParams;
+
+ header("Content-Type: ".$reqParams['info_format']);
$content = getDocumentContent($url);
$content = matchUrls($content);
echo $content;
More information about the Mapbender_commits
mailing list