[!!!][SECURITY] Remove old wizard scripts
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 // Register edit wizard
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
9 'wizard_edit',
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/'
11 );
12
13 // Register add wizard
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
15 'wizard_add',
16 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/'
17 );
18
19 // Register list wizard
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
21 'wizard_list',
22 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/'
23 );
24
25 // Register table wizard
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
27 'wizard_table',
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/'
29 );
30
31 // Register forms wizard
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
33 'wizard_forms',
34 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/FormsWizard/'
35 );
36
37 // Register rte wizard
38 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
39 'wizard_rte',
40 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/'
41 );
42
43 // Register colorpicker wizard
44 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
45 'wizard_colorpicker',
46 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/'
47 );
48 }