[Mapbender-commits] r6678 - in trunk/mapbender/http: classes javascripts php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Aug 3 04:35:41 EDT 2010


Author: christoph
Date: 2010-08-03 08:35:41 +0000 (Tue, 03 Aug 2010)
New Revision: 6678

Modified:
   trunk/mapbender/http/classes/class_log.php
   trunk/mapbender/http/javascripts/mod_log.js
   trunk/mapbender/http/php/mod_log.php
Log:
http://trac.osgeo.org/mapbender/ticket/666

Modified: trunk/mapbender/http/classes/class_log.php
===================================================================
--- trunk/mapbender/http/classes/class_log.php	2010-08-02 20:58:22 UTC (rev 6677)
+++ trunk/mapbender/http/classes/class_log.php	2010-08-03 08:35:41 UTC (rev 6678)
@@ -1,27 +1,10 @@
 <?php
-# $Id$
-# http://www.mapbender.org/index.php/class_log.php
-# Copyright (C) 2002 CCGIS
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# License:
+# Copyright (c) 2009, Open Source Geospatial Foundation
+# This program is dual licensed under the GNU General Public License 
+# and Simplified BSD license.  
+# http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
 
-/*
-* class exception
-*	 [15/Jul/2004:	 10:00:08 +0200] 192.168.2.102 urldecode(username) userid
-*modul "GET /map/http/ HTTP/1.1"
-*/
 require_once(dirname(__FILE__)."/../../core/globalSettings.php");
 
 class log {

Modified: trunk/mapbender/http/javascripts/mod_log.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_log.js	2010-08-02 20:58:22 UTC (rev 6677)
+++ trunk/mapbender/http/javascripts/mod_log.js	2010-08-03 08:35:41 UTC (rev 6678)
@@ -17,7 +17,7 @@
  * > e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, 
  * > e_target, e_requires, e_url) VALUES ('<gui_id>', 'log', 2, 1, 
  * > 'log requests', 'div', '', '', 0, 0, NULL, NULL, NULL, '', '', 'div', 
- * > 'mod_log.php', '', 'mapframe1', '', '');
+ * > 'mod_log.js', '', 'mapframe1', '', '');
  * > 
  * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
  * > context, var_type) VALUES('<gui_id>', 'log', 'logtype', 'file', 

Modified: trunk/mapbender/http/php/mod_log.php
===================================================================
--- trunk/mapbender/http/php/mod_log.php	2010-08-02 20:58:22 UTC (rev 6677)
+++ trunk/mapbender/http/php/mod_log.php	2010-08-03 08:35:41 UTC (rev 6678)
@@ -17,12 +17,12 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require dirname(__FILE__) . "/../../core/globalSettings.php" ;
+require_once dirname(__FILE__) . "/../../core/globalSettings.php" ;
 
-$ajaxRequest = new AjaxRequest($_REQUEST);
+$ajaxRequest = new AjaxRequest($_POST);
 
 $e_id = "log";
-$gui_id = Mapbender::session()->get("mb_user_myGui");
+$gui_id = Mapbender::session()->get("mb_user_gui");
 
 require dirname(__FILE__) . "/../include/dyn_php.php" ;
 



More information about the Mapbender_commits mailing list