[Mapbender-commits] r4197 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 06:18:01 EDT 2009
Author: vera
Date: 2009-06-25 06:18:01 -0400 (Thu, 25 Jun 2009)
New Revision: 4197
Modified:
trunk/mapbender/http/php/mod_updateWMS.php
Log:
session var angepasst
Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php 2009-06-25 10:16:23 UTC (rev 4196)
+++ trunk/mapbender/http/php/mod_updateWMS.php 2009-06-25 10:18:01 UTC (rev 4197)
@@ -57,8 +57,8 @@
require_once(dirname(__FILE__)."/../classes/class_administration.php");
$admin = new administration();
-$ownguis = $admin->getGuisByOwner($_SESSION["mb_user_id"],true);
-$permguis = $admin->getGuisByPermission($_SESSION["mb_user_id"],true);
+$ownguis = $admin->getGuisByOwner(Mapbender::session()->get("mb_user_id"),true);
+$permguis = $admin->getGuisByPermission(Mapbender::session()->get("mb_user_id"),true);
$wms_id_own = $admin->getWmsByOwnGuis($ownguis);
if (count($wms_id_own)>0 AND count($ownguis)>0 AND count($permguis)>0){
@@ -122,7 +122,7 @@
}
}
- $replyto = $admin->getEmailByUserId($_SESSION["mb_user_id"]);
+ $replyto = $admin->getEmailByUserId(Mapbender::session()->get("mb_user_id"));
$from = $replyto;
$pathArray = explode("http/php/", $_SERVER["PATH_TRANSLATED"]);
$path = $pathArray[0];
More information about the Mapbender_commits
mailing list