[Mapbender-commits] r8222 - branches/2.7/http_auth/http
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 30 05:04:17 EST 2011
Author: verenadiewald
Date: 2011-11-30 02:04:17 -0800 (Wed, 30 Nov 2011)
New Revision: 8222
Modified:
branches/2.7/http_auth/http/index.php
Log:
correct header information for Content-Type
Modified: branches/2.7/http_auth/http/index.php
===================================================================
--- branches/2.7/http_auth/http/index.php 2011-11-30 10:03:32 UTC (rev 8221)
+++ branches/2.7/http_auth/http/index.php 2011-11-30 10:04:17 UTC (rev 8222)
@@ -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