[BUGFIX] $_EXTKEY not available in global scope in ext_tables.php
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_extmgm.php
index 379a67e..47bfba9 100644 (file)
@@ -1791,6 +1791,7 @@ tt_content.' . $key . $prefix . ' {
                global $T3_SERVICES, $T3_VAR, $TYPO3_CONF_VARS;
                global $TBE_MODULES, $TBE_MODULES_EXT, $TCA;
                global $PAGES_TYPES, $TBE_STYLES, $FILEICONS;
+               global $_EXTKEY;
 
                        // Load each ext_tables.php file of loaded extensions
                foreach ($GLOBALS['TYPO3_LOADED_EXT'] as $_EXTKEY => $extensionInformation) {
@@ -1820,6 +1821,7 @@ tt_content.' . $key . $prefix . ' {
                $phpCodeToCache[] = 'global $T3_SERVICES, $T3_VAR, $TYPO3_CONF_VARS;';
                $phpCodeToCache[] = 'global $TBE_MODULES, $TBE_MODULES_EXT, $TCA;';
                $phpCodeToCache[] = 'global $PAGES_TYPES, $TBE_STYLES, $FILEICONS;';
+               $phpCodeToCache[] = 'global $_EXTKEY;';
                $phpCodeToCache[] = '';
 
                        // Iterate through loaded extensions and add ext_tables content