svn commit: r877 - trunk/mapbender/http/php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 09:54:27 EST 2006


Author: christoph
Date: 2006-11-20 14:54:27+0000
New Revision: 877

Modified:
   trunk/mapbender/http/php/mod_wfs.php
   trunk/mapbender/http/php/mod_wfs_conf.php
   trunk/mapbender/http/php/mod_wfs_edit.php
   trunk/mapbender/http/php/mod_wfs_gazetteer.php
   trunk/mapbender/http/php/mod_wfs_result.php
   trunk/mapbender/http/php/mod_wfs_save.php

Log:
* include via dirname(__FILE__)
* added parameter to getGuisByOwner

Modified: trunk/mapbender/http/php/mod_wfs.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs.php&p2=trunk/mapbender/http/php/mod_wfs.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs.php	(original)
+++ trunk/mapbender/http/php/mod_wfs.php	2006-11-20 14:54:27+0000
@@ -17,7 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: trunk/mapbender/http/php/mod_wfs_conf.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_conf.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs_conf.php&p2=trunk/mapbender/http/php/mod_wfs_conf.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_conf.php	(original)
+++ trunk/mapbender/http/php/mod_wfs_conf.php	2006-11-20 14:54:27+0000
@@ -17,8 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require("../classes/class_wfs_conf.php");
-require("../../conf/mapbender.conf");
+require(dirname(__FILE__)."/../classes/class_wfs_conf.php");
+require(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
 ?>

Modified: trunk/mapbender/http/php/mod_wfs_edit.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_edit.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs_edit.php&p2=trunk/mapbender/http/php/mod_wfs_edit.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_edit.php	(original)
+++ trunk/mapbender/http/php/mod_wfs_edit.php	2006-11-20 14:54:27+0000
@@ -17,7 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require("../../conf/mapbender.conf");
+require(dirname(__FILE__)."/../../conf/mapbender.conf");
 ?>
 <html>
 <head>

Modified: trunk/mapbender/http/php/mod_wfs_gazetteer.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_gazetteer.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs_gazetteer.php&p2=trunk/mapbender/http/php/mod_wfs_gazetteer.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_gazetteer.php	(original)
+++ trunk/mapbender/http/php/mod_wfs_gazetteer.php	2006-11-20 14:54:27+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 session_start();
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: trunk/mapbender/http/php/mod_wfs_result.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_result.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs_result.php&p2=trunk/mapbender/http/php/mod_wfs_result.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_result.php	(original)
+++ trunk/mapbender/http/php/mod_wfs_result.php	2006-11-20 14:54:27+0000
@@ -18,8 +18,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 $req = urldecode($_REQUEST["url"]).urlencode(stripslashes($_REQUEST["filter"]));
-require_once("../../conf/mapbender.conf");
-require_once("../classes/class_stripRequest.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../classes/class_stripRequest.php");
 
 function sepNameSpace($s){
 	$c = strpos($s,":"); 
@@ -55,7 +55,7 @@
 	echo "<meta http-equiv='Content-Type' content='text/html; charset=".CHARSET."'>\n";
 	echo "<script language='JavaScript' type='text/javascript'>\n<!--\n";
 
-	require_once("../javascripts/mod_geometryArray.js");
+	require_once(dirname(__FILE__)."/../javascripts/mod_geometryArray.js");
 	
 	$sr = new stripRequest($_REQUEST["url"]);
 	$typename = $sr->get("typename"); 

Modified: trunk/mapbender/http/php/mod_wfs_save.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfs_save.php?view=diff&rev=877&p1=trunk/mapbender/http/php/mod_wfs_save.php&p2=trunk/mapbender/http/php/mod_wfs_save.php&r1=876&r2=877
==============================================================================
--- trunk/mapbender/http/php/mod_wfs_save.php	(original)
+++ trunk/mapbender/http/php/mod_wfs_save.php	2006-11-20 14:54:27+0000
@@ -19,7 +19,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';	
 ?>
 <title>WFS Save</title>




More information about the Mapbender_commits mailing list