Friday, 11 November 2011

Get TYPO3 domain for FE plugin

To get the domain for your current TYPO3 install use:

t3lib_div::getIndpEnv('TYPO3_SITE_URL')

Maybe this is documented somewhere obvious but I couldn't find it easily...