[TYPO3] Site ID
Patrick Rodacker
patrick.rodacker at the-reflection.de
Thu Dec 6 16:34:44 CET 2007
Hi Nino,
Nino Katic wrote on 06.12.2007 16:33:
> Anybody knows which php variable holds info about site id in Typo3. I need
> to do some check based on site id - something like if ($site_id = 1) {} else
> {} in one extension. Basicly i need to execute some php code only if the
> specific site is called (i have many sites in Typo3 instalation). Thx.
$GLOBALS['TSFE']->id
More information about the TYPO3-english
mailing list