[TYPO3-dev] Setting config.sys_language_uid from PHP script
Martin Koch Andersen
martin at 925.dk
Mon Mar 26 16:26:43 CEST 2007
Hi,
I have something like:
[userFunc = user_splash_page()]
page.10 = USER_INT
page.10.userFunc = user_show_splash_page
[ELSE]
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
[END]
From the user_splash_page() function (defined in localconf.php), I also
try to set the config.sys_language_uid variable. But this is not working.
I try and set it like:
$GLOBALS['TSFE']->config['sys_language_uid'] = 7
But this has no effect. Any clues why setting the
config.sys_language_uid like this from a PHP script does not work?
Thanks.
--
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