[TYPO3-core] RFC: #9758: Write Configuration to extTables.php
Steffen Kamper
info at sk-typo3.de
Mon Nov 10 10:38:35 CET 2008
Hi Michael,
Michael Stucki schrieb:
> Steffen Kamper wrote:
>> ok, i changed that locally:
>> Following line was added to configuration:
>> $GLOBALS['TCA']['sys_template']['columns']['include_static']['config']['size']
>> = 20;
>
> 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...
>
> - michael
there is one context where i know it's critical: the XCLASS definition
(only because of the reg. expression in EM).
The shipped extTables also use $GLOBALS, so i considered this as general
CGL which is at least the safe way.
vg Steffen
More information about the TYPO3-team-core
mailing list