[Mapbender-commits] r8518 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Dec 3 01:38:23 PST 2012
Author: armin11
Date: 2012-12-03 01:38:23 -0800 (Mon, 03 Dec 2012)
New Revision: 8518
Modified:
trunk/mapbender/http/php/mod_abo_show.php
Log:
insert placeholde for absolute metadata urls
Modified: trunk/mapbender/http/php/mod_abo_show.php
===================================================================
--- trunk/mapbender/http/php/mod_abo_show.php 2012-12-03 07:20:42 UTC (rev 8517)
+++ trunk/mapbender/http/php/mod_abo_show.php 2012-12-03 09:38:23 UTC (rev 8518)
@@ -18,7 +18,8 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
$e_id = "monitor_abo_show";
-#require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+#require_once(dirname(__FILE__)."/../core/globalSettings.php");
require_once(dirname(__FILE__)."/../classes/class_administration.php");
require_once(dirname(__FILE__)."/../classes/class_user.php");
?>
@@ -91,7 +92,6 @@
}
//if button send mail is pressed - send mails
else {
-
//create body for serviceurl list:
$body_urllist = "\n\n" .
$email_body_info .
@@ -107,7 +107,11 @@
LOGIN
);
}
-
+ //
+ //following need to be adopted in another installation than geoportal.rlp!! TODO
+ //here work some mod_rewrite rule ;-)
+ //metadataUrlPlaceholder
+ //$metadataUrl = "http://www.geoportal.rlp.de/layer/";
for ($i=0; $i<count($wms_array); $i++) {
// get layer id
$sql = "select layer_id from layer where fkey_wms_id= $1 and layer_pos = 0";
More information about the Mapbender_commits
mailing list