[Mapbender-commits] r4249 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 26 07:30:50 EDT 2009
Author: uli
Date: 2009-06-26 07:30:49 -0400 (Fri, 26 Jun 2009)
New Revision: 4249
Modified:
trunk/mapbender/http/classes/class_log.php
Log:
changed to singleton model
class singleton is extended with class Mapbender and Mapbender_session
Modified: trunk/mapbender/http/classes/class_log.php
===================================================================
--- trunk/mapbender/http/classes/class_log.php 2009-06-26 11:24:32 UTC (rev 4248)
+++ trunk/mapbender/http/classes/class_log.php 2009-06-26 11:30:49 UTC (rev 4249)
@@ -80,7 +80,7 @@
$sql .= "gui, module, ip, username, userid, request";
$sql .= ") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)";
- $v = array($time_client, strtotime("now"), "[".date("d/M/Y:H:i:s O")."]", SID, Mapbender::session()->get("mb_user_gui"), $module, Mapbender::session()->get("mb_user_ip"), $_SESSION["mb_user_name"], Mapbender::session()->get("mb_user_id"), $this->url[$i]);
+ $v = array($time_client, strtotime("now"), "[".date("d/M/Y:H:i:s O")."]", SID, Mapbender::session()->get("mb_user_gui"), $module, Mapbender::session()->get("mb_user_ip"), Mapbender::session()->get("mb_user_name"), Mapbender::session()->get("mb_user_id"), $this->url[$i]);
$t = array("s", "s", "s", "s", "s", "s", "s", "s", "s", "s");
$res = db_prep_query($sql, $v, $t)or die(db_error());
More information about the Mapbender_commits
mailing list