svn commit: r878 - trunk/mapbender/http/php
christoph at osgeo.org
christoph at osgeo.org
Mon Nov 20 09:54:50 EST 2006
Author: christoph
Date: 2006-11-20 14:54:50+0000
New Revision: 878
Modified:
trunk/mapbender/http/php/mod_WMSpreferences.php
trunk/mapbender/http/php/mod_wfsLayerObj_conf.php
trunk/mapbender/http/php/mod_wfsrequest.php
Log:
* include via dirname(__FILE__)
* added parameter to getGuisByOwner
Modified: trunk/mapbender/http/php/mod_WMSpreferences.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_WMSpreferences.php?view=diff&rev=878&p1=trunk/mapbender/http/php/mod_WMSpreferences.php&p2=trunk/mapbender/http/php/mod_WMSpreferences.php&r1=877&r2=878
==============================================================================
--- trunk/mapbender/http/php/mod_WMSpreferences.php (original)
+++ trunk/mapbender/http/php/mod_WMSpreferences.php 2006-11-20 14:54:50+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");
$con = db_connect($DBSERVER,$OWNER,$PW);
db_select_db(DB,$con);
session_start();
Modified: trunk/mapbender/http/php/mod_wfsLayerObj_conf.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfsLayerObj_conf.php?view=diff&rev=878&p1=trunk/mapbender/http/php/mod_wfsLayerObj_conf.php&p2=trunk/mapbender/http/php/mod_wfsLayerObj_conf.php&r1=877&r2=878
==============================================================================
--- trunk/mapbender/http/php/mod_wfsLayerObj_conf.php (original)
+++ trunk/mapbender/http/php/mod_wfsLayerObj_conf.php 2006-11-20 14:54:50+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_wfsrequest.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_wfsrequest.php?view=diff&rev=878&p1=trunk/mapbender/http/php/mod_wfsrequest.php&p2=trunk/mapbender/http/php/mod_wfsrequest.php&r1=877&r2=878
==============================================================================
--- trunk/mapbender/http/php/mod_wfsrequest.php (original)
+++ trunk/mapbender/http/php/mod_wfsrequest.php 2006-11-20 14:54:50+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");
$con = db_connect($DBSERVER,$OWNER,$PW);
db_select_db($DB,$con);
if(isset($_REQUEST["backlink"]) && $_REQUEST["backlink"] == 'parent'){
@@ -64,7 +64,7 @@
}
else{
echo "<html><head><style type='text/css'>".$g_res_style."</style></head><body>";
- include("../classes/class_gml2.php");
+ include(dirname(__FILE__)."/../classes/class_gml2.php");
$mygml = new gml2();
$mygml->parsegml($req);
$c = $mygml->getMemberCount();
More information about the Mapbender_commits
mailing list