svn commit: r872 - trunk/mapbender/http/php
christoph at osgeo.org
christoph at osgeo.org
Mon Nov 20 09:36:00 EST 2006
Author: christoph
Date: 2006-11-20 14:36:00+0000
New Revision: 872
Modified:
trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php
trunk/mapbender/http/php/mod_monitorCapabilities_write.php
Log:
include via dirname(__FILE__)
Modified: trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php?view=diff&rev=872&p1=trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php&p2=trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php&r1=871&r2=872
==============================================================================
--- trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php (original)
+++ trunk/mapbender/http/php/mod_monitorCapabilities_read_single.php 2006-11-20 14:36:00+0000
@@ -1,6 +1,6 @@
<?php
-# $Id: mod_monitorCapabilities.php 371 2006-05-31 12:45:24Z christoph $
+# $Id: mod_monitorCapabilities_read_single.php 76 2006-08-15 12:25:34Z heuser $
# http://www.mapbender.org/index.php/Monitor_Capabilities
# Copyright (C) 2002 CCGIS
#
@@ -17,9 +17,9 @@
# 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.
-#require_once("../php/mb_validateSession.php");
-require_once("../../conf/mapbender.conf");
-require_once("../classes/class_administration.php");
+#require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../classes/class_administration.php");
session_start();
import_request_variables("PG");
$con = db_connect($DBSERVER,$OWNER,$PW);
Modified: trunk/mapbender/http/php/mod_monitorCapabilities_write.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_monitorCapabilities_write.php?view=diff&rev=872&p1=trunk/mapbender/http/php/mod_monitorCapabilities_write.php&p2=trunk/mapbender/http/php/mod_monitorCapabilities_write.php&r1=871&r2=872
==============================================================================
--- trunk/mapbender/http/php/mod_monitorCapabilities_write.php (original)
+++ trunk/mapbender/http/php/mod_monitorCapabilities_write.php 2006-11-20 14:36:00+0000
@@ -1,5 +1,5 @@
<?php
-# $Id: mod_monitorCapabilities.php 371 2006-05-31 12:45:24Z christoph $
+# $Id: mod_monitorCapabilities_write.php 76 2006-08-15 12:25:34Z heuser $
# http://www.mapbender.org/index.php/Monitor_Capabilities
# Copyright (C) 2002 CCGIS
#
@@ -16,10 +16,10 @@
# 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.
-//require_once("../php/mb_validateSession.php");
+//require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
-require_once("../classes/class_wms.php");
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../classes/class_wms.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
session_start();
import_request_variables("PG");
More information about the Mapbender_commits
mailing list