[TYPO3-dev] How to access a Typoscript setting in t3lib_userauth.php

Thorsten Kahler thorsten.kahler at dkd.de
Sat Jan 21 13:37:18 CET 2006


Hi Jochen,

Jochen Weiland schrieb:
> Could someone please drop me a line on how I can access the value of a
> Typoscript setting in the file class.t3lib_userauth.php?
> 
> For example, if I would like to know the setting of
> 
> config.simulateStaticDocuments
> 
> inside that file?

$GLOBALS['TSFE']->config contains the resulting TS "config" array ("config"
and "page.config" merged).
$GLOBALS['TSFE']->tmpl->setup contains the complete parsed TS setup.
Both should be reachable in t3lib_userauth, too. But wouldn't it be better
to use the autentication service?

> 
> Thanks
> Jochen

Regards,
Thorsten




More information about the TYPO3-dev mailing list