[Mapbender-commits] r2688 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 22 03:35:03 EDT 2008


Author: christoph
Date: 2008-07-22 03:35:03 -0400 (Tue, 22 Jul 2008)
New Revision: 2688

Modified:
   branches/2.5/http/javascripts/mod_log.php
Log:
bug fix

http://trac.osgeo.org/mapbender/ticket/223

Modified: branches/2.5/http/javascripts/mod_log.php
===================================================================
--- branches/2.5/http/javascripts/mod_log.php	2008-07-22 07:31:57 UTC (rev 2687)
+++ branches/2.5/http/javascripts/mod_log.php	2008-07-22 07:35:03 UTC (rev 2688)
@@ -1,5 +1,5 @@
 <?php
-require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+require(dirname(__FILE__)."/../php/mb_validatePermission.php");
 ?>
 mb_registerInitFunctions("mb_log_init()");
 function mb_log_init(){
@@ -7,7 +7,7 @@
 }
 try{if(logtype){}}catch(e){logtype="";}
 function mb_log_set(req, time_client){
-	var url = '<?php echo $self; ?>&req=" + escape(req) + "&time_client=" + time_client;
+	var url = "../php/mod_log.php?<?php echo $urlParameters;?>&req=" + escape(req) + "&time_client=" + time_client;
 	mb_ajax_post(url, {req:req, time:time_client});
 	return true;
 }
\ No newline at end of file



More information about the Mapbender_commits mailing list