6742cdee9d4c77dccb8d095141f1452f042ea2b0
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 // Do not delete this wizard. This makes sure new installations get the TER repository set in the database.
5 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\ExtensionManagerTables::class]
6 = \TYPO3\CMS\Install\Updates\ExtensionManagerTables::class;
7
8 // TYPO3 CMS 8
9 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\WizardDoneToRegistry::class]
10 = \TYPO3\CMS\Install\Updates\WizardDoneToRegistry::class;
11 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\StartModuleUpdate::class]
12 = \TYPO3\CMS\Install\Updates\StartModuleUpdate::class;
13 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\FrontendUserImageUpdateWizard::class]
14 = \TYPO3\CMS\Install\Updates\FrontendUserImageUpdateWizard::class;
15 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\DatabaseRowsUpdateWizard::class]
16 = \TYPO3\CMS\Install\Updates\DatabaseRowsUpdateWizard::class;
17 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\CommandLineBackendUserRemovalUpdate::class]
18 = \TYPO3\CMS\Install\Updates\CommandLineBackendUserRemovalUpdate::class;
19 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\FillTranslationSourceField::class]
20 = \TYPO3\CMS\Install\Updates\FillTranslationSourceField::class;
21 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\SectionFrameToFrameClassUpdate::class]
22 = \TYPO3\CMS\Install\Updates\SectionFrameToFrameClassUpdate::class;
23 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\SplitMenusUpdate::class]
24 = \TYPO3\CMS\Install\Updates\SplitMenusUpdate::class;
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\BulletContentElementUpdate::class]
26 = \TYPO3\CMS\Install\Updates\BulletContentElementUpdate::class;
27 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\UploadContentElementUpdate::class]
28 = \TYPO3\CMS\Install\Updates\UploadContentElementUpdate::class;
29 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\MigrateFscStaticTemplateUpdate::class]
30 = \TYPO3\CMS\Install\Updates\MigrateFscStaticTemplateUpdate::class;
31 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::class]
32 = \TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::class;
33 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['compatibility7Extension']
34 = \TYPO3\CMS\Install\Updates\Compatibility7ExtractionUpdate::class;
35 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['formLegacyExtractionUpdate']
36 = \TYPO3\CMS\Install\Updates\FormLegacyExtractionUpdate::class;
37 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['rtehtmlareaExtension']
38 = \TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate::class;
39
40 // Add update wizards below this line
41 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['typo3DbLegacyExtension']
42 = \TYPO3\CMS\Install\Updates\Typo3DbExtractionUpdate::class;
43 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['funcExtension']
44 = \TYPO3\CMS\Install\Updates\FuncExtractionUpdate::class;
45 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesUrltypeField']
46 = \TYPO3\CMS\Install\Updates\MigrateUrlTypesInPagesUpdate::class;
47 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['separateSysHistoryFromLog']
48 = \TYPO3\CMS\Install\Updates\SeparateSysHistoryFromSysLogUpdate::class;
49 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['rdctExtension']
50 = \TYPO3\CMS\Install\Updates\RedirectExtractionUpdate::class;
51 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['cshmanualBackendUsers']
52 = \TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdate::class;
53 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesLanguageOverlay']
54 = \TYPO3\CMS\Install\Updates\MigratePagesLanguageOverlayUpdate::class;
55 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesLanguageOverlayBeGroupsAccessRights']
56 = \TYPO3\CMS\Install\Updates\MigratePagesLanguageOverlayBeGroupsAccessRights::class;
57 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendLayoutIcons']
58 = \TYPO3\CMS\Install\Updates\BackendLayoutIconUpdateWizard::class;
59
60 $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
61 $icons = [
62 'module-install-environment' => 'EXT:install/Resources/Public/Icons/module-install-environment.svg',
63 'module-install-maintenance' => 'EXT:install/Resources/Public/Icons/module-install-maintenance.svg',
64 'module-install-settings' => 'EXT:install/Resources/Public/Icons/module-install-settings.svg',
65 'module-install-upgrade' => 'EXT:install/Resources/Public/Icons/module-install-upgrade.svg',
66 ];
67
68 foreach ($icons as $iconIdentifier => $source) {
69 $iconRegistry->registerIcon(
70 $iconIdentifier,
71 \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
72 ['source' => $source]
73 );
74 }
75
76 // Register report module additions
77 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = \TYPO3\CMS\Install\Report\InstallStatusReport::class;
78 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = \TYPO3\CMS\Install\Report\SecurityStatusReport::class;
79
80 // Only add the environment status report if not in CLI mode
81 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) {
82 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
83 }