Created
December 2, 2014 14:54
-
-
Save jmverges/927068b2dd5e2237ecd6 to your computer and use it in GitHub Desktop.
Get all typoscript in service or hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$GLOBALS['TT'] = new \TYPO3\CMS\Core\TimeTracker\NullTimeTracker(); | |
$GLOBALS['TSFE'] = new \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController($TYPO3_CONF_VARS, $pid, | |
0, true); | |
$GLOBALS['TSFE']->connectToDB(); | |
$GLOBALS['TSFE']->initFEuser(); | |
$GLOBALS['TSFE']->determineId(); | |
$GLOBALS['TSFE']->getCompressedTCarray(); | |
$GLOBALS['TSFE']->initTemplate(); | |
$GLOBALS['TSFE']->getConfigArray(); | |
$settings = $GLOBALS['TSFE']->tmpl->setup; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment