[TYPO3-dev] includeLLFile() - force language

Steffen Kamper steffen at sk-typo3.de
Mon Sep 17 20:11:08 CEST 2007


"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1190044991.22733.typo3-dev at lists.netfielders.de...
> Steffen Kamper schrieb:
>> Hi Bernd,
>>
>> $this->LLkey is not filled properly, i run in this problem in some cases.
>
> Why? When?
>
> LLkey defaults to 'default' and is set to the value of config.language in 
> the constructor of pibase. This will only be wroing if your TS is broken 
> or you run the plugin without a $TSFE. But that should never happen.
>
> Masi

Hi Masi,

I know this shouldn't happen. But I remember experiments while determing the 
language, where LLkey was empty.
It's some time ago and i don't know the exact circumstances, i only know 
that i have to use an expression like
$lang=$this->LLkey ? $this->LLkey : 'default';

vg  Steffen 






More information about the TYPO3-dev mailing list