[Mapbender-commits] r1862 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 28 08:57:42 EST 2007


Author: astrid_emde
Date: 2007-11-28 08:57:42 -0500 (Wed, 28 Nov 2007)
New Revision: 1862

Modified:
   trunk/mapbender/http/javascripts/mod_tab_translation.php
Log:
require_once instead include

Modified: trunk/mapbender/http/javascripts/mod_tab_translation.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_tab_translation.php	2007-11-28 13:41:52 UTC (rev 1861)
+++ trunk/mapbender/http/javascripts/mod_tab_translation.php	2007-11-28 13:57:42 UTC (rev 1862)
@@ -22,13 +22,13 @@
 $gui_id = $_REQUEST["gui_id"];
 $e_id_css = 'tabs';
 $e_id = 'tabs';
-include(dirname(__FILE__).'/../extensions/JSON.php');
-include(dirname(__FILE__).'/../classes/class_mb_exception.php');
+require_once(dirname(__FILE__).'/../extensions/JSON.php');
+require_once(dirname(__FILE__).'/../classes/class_mb_exception.php');
 $e = new mb_exception("tab_ids");
-include(dirname(__FILE__).'/../include/dyn_js.php');
+require_once(dirname(__FILE__).'/../include/dyn_js.php');
 
 $tab_ids = array();
-include(dirname(__FILE__).'/../include/dyn_php.php');
+require_once(dirname(__FILE__).'/../include/dyn_php.php');
 
 
 echo "var tab_titles = [];\n";



More information about the Mapbender_commits mailing list