[TYPO3-dev] Not equal condition
Ernesto Baschny [cron IT]
ernst at cron-it.de
Mon May 21 14:40:33 CEST 2007
John Angel wrote: on 19.05.2007 21:22:
> Thanks Ernesto & Wolfgang!
>
> I've made extension based on your suggestions: ja_default_language:
> http://typo3.org/extensions/repository/view/ja_default_language/0.1.0/
>
> You can specify default language (using stdWrap) if L parameter doesn't
> exist. Extension also remembers selected language based on cookie.
>
> One thing I am not sure about is HTTP redirection code, should it be
> set? Now it's simple "Location: ...".
That looks ok to me. You could add an "exit()" after the call the
header(), as the remaining output of TYPO3 won't matter anymore, and you
will save some processing power for other requests.
Cheers,
Ernesto
More information about the TYPO3-dev
mailing list