[TASK] Add language debug mode to All Configuration
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Classes / LanguageService.php
index 848e1dc..13b0002 100644 (file)
@@ -109,7 +109,7 @@ class LanguageService
         $this->csConvObj = GeneralUtility::makeInstance(CharsetConverter::class);
         // Initialize the localization factory object
         $this->parserFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
-        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['lang']['debug']) {
+        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['languageDebug']) {
             $this->debugKey = true;
         }
     }