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

Sacha Vorbeck sachav at gmx.net
Thu Aug 14 17:38:13 CEST 2003


Hi,

I know that I can find out the available alternative languages with
$query = "SELECT `uid`,`title` FROM `sys_language` WHERE `hidden` != 1";
(btw. how can I use enableFields here instead of hidden != 1?)

But how can I read out config.language with PHP?

-- 
thank you - all the best,

   Sacha





More information about the TYPO3-dev mailing list