[TASK] Remove GFX/im_no_effects setting
[Packages/TYPO3.CMS.git] / typo3 / wizard_rte.php
index c293582..3601783 100644 (file)
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
 /**
  * Wizard to display the RTE in "full screen" mode
  *
- * Revised for TYPO3 3.6 November/2003 by Kasper Skårhøj
- * XHTML compliant
- *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-$BACK_PATH = '';
-require 'init.php';
-$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_wizards.xlf');
+require __DIR__ . '/init.php';
 \TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords();
-/*
- * @deprecated since 6.0, the classname SC_wizard_rte and this file is obsolete
- * and will be removed with 6.2. The class was renamed and is now located at:
- * typo3/sysext/backend/Classes/Controller/Wizard/RteController.php
- */
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/Wizard/RteController.php';
-// Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController');
-$SOBE->init();
-$SOBE->main();
-$SOBE->printContent();
+
+$rteController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController');
+$rteController->main();
+$rteController->printContent();
 ?>
\ No newline at end of file