[Mapbender-commits] r9990 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Nov 5 23:36:07 PST 2018
Author: armin11
Date: 2018-11-05 23:36:07 -0800 (Mon, 05 Nov 2018)
New Revision: 9990
Modified:
trunk/mapbender/http/classes/class_syncCkan.php
Log:
CKAN sync module: Fix problem when invoking mapbenders mapclient from external application when mapbender is integrated in typo3 cms.
Modified: trunk/mapbender/http/classes/class_syncCkan.php
===================================================================
--- trunk/mapbender/http/classes/class_syncCkan.php 2018-11-05 15:03:10 UTC (rev 9989)
+++ trunk/mapbender/http/classes/class_syncCkan.php 2018-11-06 07:36:07 UTC (rev 9990)
@@ -1374,6 +1374,8 @@
$resourcesArray[$indexResourceArray]->id = $row['uuid']."_geoportalrlp";
$resourcesArray[$indexResourceArray]->description = "Ebene: ".$row['layer_title']." - Anzeige im GeoPortal.rlp";
$resourcesArray[$indexResourceArray]->url = $mapbenderUrl."/../portal/karten.html?LAYER[zoom]=1&LAYER[id]=".$row['layer_id'];
+//Solve problem - don'Ät use https for invoking mapbender in geoportal
+$resourcesArray[$indexResourceArray]->url = str_replace("https", "http", $resourcesArray[$indexResourceArray]->url);
$resourcesArray[$indexResourceArray]->format = "Webanwendung";
$indexResourceArray++;
//generate wms capabilities resource
More information about the Mapbender_commits
mailing list