[Mapbender-commits] r4250 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 26 07:34:27 EDT 2009
Author: uli
Date: 2009-06-26 07:34:26 -0400 (Fri, 26 Jun 2009)
New Revision: 4250
Modified:
trunk/mapbender/http/php/mod_editApplication_server.php
Log:
changed to singleton model
class singleton is extended with class Mapbender and Mapbender_session
Modified: trunk/mapbender/http/php/mod_editApplication_server.php
===================================================================
--- trunk/mapbender/http/php/mod_editApplication_server.php 2009-06-26 11:30:49 UTC (rev 4249)
+++ trunk/mapbender/http/php/mod_editApplication_server.php 2009-06-26 11:34:26 UTC (rev 4250)
@@ -22,7 +22,7 @@
$e = new mb_exception("command: " . $queryObj->command);
-$userId = $_SESSION[mb_user_id];
+$userId = Mapbender::session()->get("mb_user_id");
switch($queryObj->command){
More information about the Mapbender_commits
mailing list