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