Project

General

Profile

Bug #66855 » HtmlViewHelper.Inline.patch

Patch two :: set cObjectDepthCounter inline - Carsten Biebricher, 2015-05-08 14:50

View differences:

HtmlViewHelperInline.php 2015-05-08 14:27:13.000000000 +0200
protected function simulateFrontendEnvironment() {
$this->tsfeBackup = isset($GLOBALS['TSFE']) ? $GLOBALS['TSFE'] : NULL;
$GLOBALS['TSFE'] = new \stdClass();
$GLOBALS['TSFE']->cObjectDepthCounter = 100;
$GLOBALS['TSFE']->tmpl = new \stdClass();
$GLOBALS['TSFE']->tmpl->setup = $this->configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
}
(2-2/2)