[Mapbender-commits] r8221 - trunk/mapbender/http_auth/http
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 30 05:03:32 EST 2011
Author: verenadiewald
Date: 2011-11-30 02:03:32 -0800 (Wed, 30 Nov 2011)
New Revision: 8221
Modified:
trunk/mapbender/http_auth/http/index.php
Log:
correct header information for Content-Type
Modified: trunk/mapbender/http_auth/http/index.php
===================================================================
--- trunk/mapbender/http_auth/http/index.php 2011-11-30 09:59:49 UTC (rev 8220)
+++ trunk/mapbender/http_auth/http/index.php 2011-11-30 10:03:32 UTC (rev 8221)
@@ -286,9 +286,9 @@
* @return string the content of the FeatureInfo document
*/
function getFeatureInfo($url){
- global $info_format;
+ global $reqParams;
$e = new mb_exception("owsproxy: Try to fetch FeatureInfoRequest: ".$url);
- header("Content-Type: ".$info_format);
+ header("Content-Type: ".$reqParams['info_format']);
if (func_num_args() == 2) { //new for HTTP Authentication
$auth = func_get_arg(1);
echo getDocumentContent($url,$auth);
More information about the Mapbender_commits
mailing list