[TYPO3-core] RFC #9632: Bug: Multiple fileuploads into folders with special characters (umlauts) not possible

Martin Kutschker masi-no at spam-typo3.org
Thu Oct 30 11:49:55 CET 2008


Steffen Kamper schrieb:
> Hi,
> 
> Martin Kutschker schrieb:
>> Steffen Kamper schrieb:
>>
>>> Also when you convert it to singleton it makes sense for me that cs is
>>> part of LANG, which is available now always. So it makes also code more
>>> easy if using it.
>>
>> Not really important. I would not remove the references (now copies) in
>> $LANG, but I would try to remove it's use in the Core.
>>
>> Masi
> 
> and same for $TSFE? what is the alternative, having $GLOBALS['CS'] ?

No! No more globals, no more passed-down copies.

$myCS = t3lib_div::makeInstance('t3lib_cs');

When t3lib_cs is a singleton this is THE way to get a reference.

Masi


More information about the TYPO3-team-core mailing list