Follow-up to bug #11985: backPath in FE is set too late
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_fe.php
index 196ecbb..dd7dfe8 100644 (file)
                if (!isset($this->pageRenderer)) {
                        $this->pageRenderer = t3lib_div::makeInstance('t3lib_PageRenderer');
                        $this->pageRenderer->setTemplateFile(PATH_tslib . 'templates/tslib_page_frontend.html');
+                       $this->pageRenderer->setBackPath(TYPO3_mainDir);
                }
                return $this->pageRenderer;
        }