[Typo3-dev] Accessing the currently active default language with PHP

Sacha Vorbeck sachav at gmx.net
Tue Aug 19 07:52:26 CEST 2003


Hi Ingmar,

> echo $GLOBALS["TSFE"]->tmpl->setup["config."]["language"];

thank you ;-). Meanwhile I also found something in the pi_base:

if ($GLOBALS["TSFE"]->config["config"]["language"])     {
$this->LLkey = $GLOBALS["TSFE"]->config["config"]["language"];
                 }

-- 
Ciao,

   Sacha





More information about the TYPO3-dev mailing list