[TASK] Cleanup ext_localconf.php of sysexts
[Packages/TYPO3.CMS.git] / typo3 / sysext / recycler / ext_localconf.php
index 91540f6..f36a4ee 100644 (file)
@@ -2,5 +2,6 @@
 if (!defined('TYPO3_MODE')) {
        die('Access denied.');
 }
-$TYPO3_CONF_VARS['BE']['AJAX']['tx_recycler::controller'] = \TYPO3\CMS\Core\Extension\ExtensionManager::extPath($_EXTKEY) . 'classes/controller/class.tx_recycler_controller_ajax.php:TYPO3\\CMS\\Recycler\\Controller\\RecyclerAjaxController->init';
-?>
\ No newline at end of file
+if (TYPO3_MODE === 'BE') {
+       $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['RecyclerAjaxController::init'] = 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerAjaxController->init';
+}