svn commit: r856 - trunk/mapbender/http/javascripts

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 09:07:57 EST 2006


Author: christoph
Date: 2006-11-20 14:07:57+0000
New Revision: 856

Modified:
   trunk/mapbender/http/javascripts/mod_repaint.php
   trunk/mapbender/http/javascripts/mod_rubber.js
   trunk/mapbender/http/javascripts/mod_sandclock.php
   trunk/mapbender/http/javascripts/mod_sandclock2.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_repaint.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_repaint.php?view=diff&rev=856&p1=trunk/mapbender/http/javascripts/mod_repaint.php&p2=trunk/mapbender/http/javascripts/mod_repaint.php&r1=855&r2=856
==============================================================================
--- trunk/mapbender/http/javascripts/mod_repaint.php	(original)
+++ trunk/mapbender/http/javascripts/mod_repaint.php	2006-11-20 14:07:57+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 $gui_id = $_REQUEST["gui_id"];
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 $sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'repaint' AND fkey_gui_id = $1";

Modified: trunk/mapbender/http/javascripts/mod_rubber.js
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_rubber.js?view=diff&rev=856&p1=trunk/mapbender/http/javascripts/mod_rubber.js&p2=trunk/mapbender/http/javascripts/mod_rubber.js&r1=855&r2=856
==============================================================================
--- trunk/mapbender/http/javascripts/mod_rubber.js	(original)
+++ trunk/mapbender/http/javascripts/mod_rubber.js	2006-11-20 14:07:57+0000
@@ -1,4 +1,4 @@
-//$Id: mod_rubber.js,v 1.4 2005/09/13 14:38:11 bjoern_heuser Exp $
+//$Id: mod_rubber.js 11 2006-07-31 16:22:36Z rothstein $
 //$Header: /cvsroot/mapbender/mapbender/http/javascripts/mod_rubber.js,v 1.4 2005/09/13 14:38:11 bjoern_heuser Exp $
 var mod_rubber_img = new Image();
 mod_rubber_img.src = "../img/button_gray/rubber_off.gif";

Modified: trunk/mapbender/http/javascripts/mod_sandclock.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_sandclock.php?view=diff&rev=856&p1=trunk/mapbender/http/javascripts/mod_sandclock.php&p2=trunk/mapbender/http/javascripts/mod_sandclock.php&r1=855&r2=856
==============================================================================
--- trunk/mapbender/http/javascripts/mod_sandclock.php	(original)
+++ trunk/mapbender/http/javascripts/mod_sandclock.php	2006-11-20 14:07:57+0000
@@ -19,7 +19,7 @@
 
 
 $gui_id = $_REQUEST["gui_id"];
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 $sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'sandclock' AND fkey_gui_id = $1";

Modified: trunk/mapbender/http/javascripts/mod_sandclock2.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_sandclock2.php?view=diff&rev=856&p1=trunk/mapbender/http/javascripts/mod_sandclock2.php&p2=trunk/mapbender/http/javascripts/mod_sandclock2.php&r1=855&r2=856
==============================================================================
--- trunk/mapbender/http/javascripts/mod_sandclock2.php	(original)
+++ trunk/mapbender/http/javascripts/mod_sandclock2.php	2006-11-20 14:07:57+0000
@@ -19,7 +19,7 @@
 
 
 $gui_id = $_REQUEST["gui_id"];
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 $sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'sandclock2' AND fkey_gui_id = $1";




More information about the Mapbender_commits mailing list