Actions
Bug #38927
closed$_EXTCONF was not filled in ext_tables.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2012-07-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
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
Files
Actions