[+BUGFIX] Extbase (Dispatcher): Now, Extbase in the backend again uses the correct...
authorSebastian Kurfürst <sebastian@typo3.org>
Sun, 8 Nov 2009 07:19:38 +0000 (07:19 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Sun, 8 Nov 2009 07:19:38 +0000 (07:19 +0000)
typo3/sysext/extbase/Classes/Dispatcher.php

index a4eae83..cffde29 100644 (file)
@@ -170,10 +170,11 @@ class Tx_Extbase_Dispatcher {
         * @return void
         */
        protected function initializeConfigurationManagerAndFrameworkConfiguration($configuration) {
-               self::$configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_FrontendConfigurationManager', $configurationSources);
-
                if (TYPO3_MODE === 'FE') {
+                       self::$configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_FrontendConfigurationManager');
                        self::$configurationManager->setContentObject($this->cObj);
+               } else {
+                       self::$configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_BackendConfigurationManager');
                }
                self::$extbaseFrameworkConfiguration = self::$configurationManager->getFrameworkConfiguration($configuration);
        }