[TYPO3-dev] Setting config.sys_language_uid from PHP script

Martin Koch Andersen martin at 925.dk
Mon Mar 26 17:13:01 CEST 2007


Martin Kutschker skrev:
> Martin Koch Andersen schrieb:
>>
>> But this has no effect. Any clues why setting the 
>> config.sys_language_uid like this from a PHP script does not work?
> 
> Because the TS config setting is turned into a property of the TSFE 
> object (see tslib_fe).

I did try $GLOBALS['TSFE']->sys_language_uid also. Still no effect. I 
have checked that my function actually gets called and setting it from 
typoscript directly works.

-- 
Martin - http://925.dk
"Shoot for the moon, even if you miss, you'll land among the stars."




More information about the TYPO3-dev mailing list