[TYPO3-dev] Reading ts-setup in php

Stefan Kreisberg stefan.spamfree at ham.linkfactory.dk
Mon Jun 25 14:57:16 CEST 2007


Tonni Aagesen wrote:

> Hi,
> 
> Firstly, I need to read some ts-setup from some arbitrary php code, and
> I'm uncertain how to do this correctly. I _can_ do it like this:
> 
> $tx_foobar_ts = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_foobar.']
> 
> Secondly, is the any way to determine the current sys_domain used by
> typo3 - or is it just a matter of reading from $_SERVER superglobal.

Isn't it in t3lib_div::getIndpEnv ?

(not shure, but might be worth a look :))

Rgs Stefan
 





More information about the TYPO3-dev mailing list