[Mapbender-commits] r4182 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 05:27:13 EDT 2009
Author: vera
Date: 2009-06-25 05:27:13 -0400 (Thu, 25 Jun 2009)
New Revision: 4182
Modified:
trunk/mapbender/http/php/mod_loadCapabilities.php
Log:
session var angepasst
Modified: trunk/mapbender/http/php/mod_loadCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilities.php 2009-06-25 09:25:37 UTC (rev 4181)
+++ trunk/mapbender/http/php/mod_loadCapabilities.php 2009-06-25 09:27:13 UTC (rev 4182)
@@ -86,7 +86,7 @@
require_once(dirname(__FILE__)."/../classes/class_administration.php");
$admin = new administration();
-$ownguis = $admin->getGuisByOwner($_SESSION["mb_user_id"],true);
+$ownguis = $admin->getGuisByOwner(Mapbender::session()->get("mb_user_id"),true);
echo "<form name='form1' action='" . $self ."' method='post'>";
echo "<table cellpadding='0' cellspacing='0' border='0'>";
@@ -114,7 +114,7 @@
}
echo ">".$row["gui_name"]."</option>";
}
- $arrayGUIs=$_SESSION["mb_user_guis"];
+ $arrayGUIs = Mapbender::session()->get("mb_user_id");
echo count($arrayGUIs);
echo "</select><br><br>";
echo "</td>";
More information about the Mapbender_commits
mailing list