Issue Bug Closed

#38927$_EXTCONF was not filled in ext_tables.php

Stefan Froemken 07/13/12, 10:26 updated 10/02/18, 12:17

Description

Hello TYPO3-Team,

for each installed extension you inserted following automatically in TEMP_files*:

$_EXTKEY = 'cms';
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];

This works good for ext_localconf.php but not for ext_tables.php.

I added following debugging lines:

t3lib_utility_Debug::debug($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'], 'extConfGlobalWhichIsFilled');
t3lib_utility_Debug::debug($TYPO3_CONF_VARS['EXT']['extConf'], 'extConfLocalWhichIsNotFilled');
t3lib_utility_Debug::debug($_EXTKEY, 'extKey');

1.debug) My modified debug in global scope works
2.debug) Your original version returns nothing
3.debug) This is the extkey. No problems with that.

So you should change your code to something like that:

$_EXTKEY = 'cms';
$_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY];

Stefan

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.