[TYPO3-core] RFC: #9758: Write Configuration to extTables.php
Michael Stucki
michael at typo3.org
Mon Nov 10 11:01:20 CET 2008
Steffen Kamper wrote:
>> Side note: As the file is included on the global scope, you can refer to
>> $TCA directly instead of $GLOBALS['TCA'].
>>
>> I still remember some strange bug where these values had different
>> contents. However, the last time I checked it, I was not able to
>> reproduce this...
>
> there is one context where i know it's critical: the XCLASS definition
> (only because of the reg. expression in EM).
Well as it seems you're not going to touch that part anyway, are you?
> The shipped extTables also use $GLOBALS, so i considered this as general
> CGL which is at least the safe way.
No. If it's written with $GLOBALS in extTables.php, that is a bug then.
Anyway, it's always better to fix the root of the problem rather than
working around it.
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list