[Typo3-dev] $LANG is always NULL
Thorsten Kahler
thorsten.kahler at dkd.de
Thu Aug 4 17:03:30 CEST 2005
Stefan Beylen schrieb:
> Franz Holzinger wrote:
>
>> at the site http://81.223.48.238/sbmp.at/Monitore.28.0.html
>> I have a problem with the $LANG and $GLOBALS['LANG'] variables.
>
>
> I just want to add that it is _not_ null when I am logged in as a
> Backend User...
... which perhaps could tell you, that $GLOBALS['LANG'] is only available in BE.
In class tx_ttproducts the localization functions of tslib_pibase should be
used. If additional functions are needed, there are some in tslib_fe (take a
look at the last section "Localization and character set conversion").
@Franz: tell us, what you want to achieve, so we could give more distinctive
help
Regards
Thorsten
More information about the TYPO3-dev
mailing list