[TYPO3-dev] GLOBALS['LANG'] and MacOs
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Nov 22 15:58:17 CET 2006
Toke Herkild schrieb:
> Hi,
>
> My error.
>
> It occured in the frontend, only reason I didn't find it before was that I were allways logged in to both BE and FE at the same time, and somehow that made the $LANG object avaible for both.
>
> I've now added a test on $LANG and If it isn't defined it will be and it works fine.
>
> Note to self:
> Allways test if Object is present, if not: Create it.
There is a sL functionality in $TSFE for FE as well. $LANG is for BE only.
Masi
More information about the TYPO3-dev
mailing list