svn commit: r903 - trunk/mapbender/http/php/mod_logout.php

christoph at osgeo.org christoph at osgeo.org
Tue Nov 21 04:15:34 EST 2006


Author: christoph
Date: 2006-11-21 09:15:34+0000
New Revision: 903

Modified:
   trunk/mapbender/http/php/mod_logout.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/php/mod_logout.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_logout.php?view=diff&rev=903&p1=trunk/mapbender/http/php/mod_logout.php&p2=trunk/mapbender/http/php/mod_logout.php&r1=902&r2=903
==============================================================================
--- trunk/mapbender/http/php/mod_logout.php	(original)
+++ trunk/mapbender/http/php/mod_logout.php	2006-11-21 09:15:34+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");
 
 session_start();
 $con = db_connect($DBSERVER,$OWNER,$PW);
@@ -26,7 +26,7 @@
 
 ob_start();
 
-include '../include/dyn_php.php';
+require_once(dirname(__FILE__)."/../include/dyn_php.php");
 ignore_user_abort();
 if (isset($_COOKIE[session_name()])) {
     setcookie(session_name(), '', time()-42000, '/');




More information about the Mapbender_commits mailing list