Fixed issue #13670: Performance optimization: change while(list() to foreach() (thank...
[Packages/TYPO3.CMS.git] / t3lib / stddb / load_ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 /**
5 * Loading the ext_tables.php files of the installed extensions when caching to "temp_CACHED_" files is NOT enabled.
6 *
7 * $Id$
8 * Revised for TYPO3 3.6 July/2003 by Kasper Skaarhoj
9 *
10 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
11 * @see tslib_fe::includeTCA(), typo3/init.php
12 */
13 $temp_TYPO3_LOADED_EXT = $GLOBALS['TYPO3_LOADED_EXT'];
14 foreach ($temp_TYPO3_LOADED_EXT as $_EXTKEY => $temp_lEDat) {
15 if (is_array($temp_lEDat) && $temp_lEDat['ext_tables.php']) {
16 $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
17 require($temp_lEDat['ext_tables.php']);
18 }
19 }
20 ?>