Commit 1d2e1e9f authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix ApplicationType initialisation

parent 01721544
......@@ -106,8 +106,7 @@ abstract class AbstractParserService {
}
if ($stdWrap !== '') {
$applicationType = GeneralUtility::makeInstance(ApplicationType::class);
if ($applicationType->isBackend()) {
if (ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend()) {
$configurationManager = GeneralUtility::makeInstance(BackendConfigurationManager::class);
$extbaseFrameworkConfiguration = $configurationManager->getTypoScriptSetup();
$typoscriptConfiguration = $extbaseFrameworkConfiguration['plugin.']['tx_content_replacer.'][$stdWrap . '.'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment