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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 28 08:41:53 EST 2007


Author: astrid_emde
Date: 2007-11-28 08:41:52 -0500 (Wed, 28 Nov 2007)
New Revision: 1861

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

Modified: trunk/mapbender/http/javascripts/mod_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_tab.php	2007-11-27 14:22:36 UTC (rev 1860)
+++ trunk/mapbender/http/javascripts/mod_tab.php	2007-11-28 13:41:52 UTC (rev 1861)
@@ -22,12 +22,12 @@
 $gui_id = $_REQUEST["gui_id"];
 $e_id_css = "tabs";
 $e_id = "tabs";
-include(dirname(__FILE__)."/../extensions/JSON.php");
+require_once(dirname(__FILE__)."/../extensions/JSON.php");
 require_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
-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