svn commit: r841 - trunk/mapbender/http/javascripts/mod_export_image.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:48:07 EST 2006


Author: christoph
Date: 2006-11-20 13:48:07+0000
New Revision: 841

Modified:
   trunk/mapbender/http/javascripts/mod_export_image.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_export_image.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_export_image.php?view=diff&rev=841&p1=trunk/mapbender/http/javascripts/mod_export_image.php&p2=trunk/mapbender/http/javascripts/mod_export_image.php&r1=840&r2=841
==============================================================================
--- trunk/mapbender/http/javascripts/mod_export_image.php	(original)
+++ trunk/mapbender/http/javascripts/mod_export_image.php	2006-11-20 13:48:07+0000
@@ -16,7 +16,7 @@
 # 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.
-include("../../conf/mapbender.conf");
+include(dirname(__FILE__)."/../../conf/mapbender.conf");
 session_start();
 
 ?>
@@ -50,7 +50,7 @@
 /******Name of this module**************/
 $mb_module_id = "print1";
 /**********************************/
-include("../../conf/print.conf");
+include(dirname(__FILE__)."/../../conf/print.conf");
 
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);




More information about the Mapbender_commits mailing list