a443ac9bf9dff160ea6ebb8bb824d612699558d4
[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\FileReferenceUpdate::class]
32 = \TYPO3\CMS\Install\Updates\FileReferenceUpdate::class;
33 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][\TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::class]
34 = \TYPO3\CMS\Install\Updates\MigrateFeSessionDataUpdate::class;
35 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['compatibility7Extension']
36 = \TYPO3\CMS\Install\Updates\Compatibility7ExtractionUpdate::class;
37 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['formLegacyExtractionUpdate']
38 = \TYPO3\CMS\Install\Updates\FormLegacyExtractionUpdate::class;
39 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['rtehtmlareaExtension']
40 = \TYPO3\CMS\Install\Updates\RteHtmlAreaExtractionUpdate::class;
41 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['sysLanguageSorting']
42 = \TYPO3\CMS\Install\Updates\LanguageSortingUpdate::class;
43
44 // Add update wizards below this line
45 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['typo3DbLegacyExtension']
46 = \TYPO3\CMS\Install\Updates\Typo3DbExtractionUpdate::class;
47 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['funcExtension']
48 = \TYPO3\CMS\Install\Updates\FuncExtractionUpdate::class;
49 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesUrltypeField']
50 = \TYPO3\CMS\Install\Updates\MigrateUrlTypesInPagesUpdate::class;
51 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['separateSysHistoryFromLog']
52 = \TYPO3\CMS\Install\Updates\SeparateSysHistoryFromSysLogUpdate::class;
53 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['rdctExtension']
54 = \TYPO3\CMS\Install\Updates\RedirectExtractionUpdate::class;
55 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['cshmanualBackendUsers']
56 = \TYPO3\CMS\Install\Updates\BackendUserStartModuleUpdate::class;
57 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesLanguageOverlay']
58 = \TYPO3\CMS\Install\Updates\MigratePagesLanguageOverlayUpdate::class;
59 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['pagesLanguageOverlayBeGroupsAccessRights']
60 = \TYPO3\CMS\Install\Updates\MigratePagesLanguageOverlayBeGroupsAccessRights::class;
61 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['backendLayoutIcons']
62 = \TYPO3\CMS\Install\Updates\BackendLayoutIconUpdateWizard::class;
63 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['redirects']
64 = \TYPO3\CMS\Install\Updates\RedirectsExtensionUpdate::class;
65
66 $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
67 $icons = [
68 'module-install-environment' => 'EXT:install/Resources/Public/Icons/module-install-environment.svg',
69 'module-install-maintenance' => 'EXT:install/Resources/Public/Icons/module-install-maintenance.svg',
70 'module-install-settings' => 'EXT:install/Resources/Public/Icons/module-install-settings.svg',
71 'module-install-upgrade' => 'EXT:install/Resources/Public/Icons/module-install-upgrade.svg',
72 ];
73
74 foreach ($icons as $iconIdentifier => $source) {
75 $iconRegistry->registerIcon(
76 $iconIdentifier,
77 \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
78 ['source' => $source]
79 );
80 }
81
82 // Register report module additions
83 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = \TYPO3\CMS\Install\Report\InstallStatusReport::class;
84 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = \TYPO3\CMS\Install\Report\SecurityStatusReport::class;
85
86 // Only add the environment status report if not in CLI mode
87 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) {
88 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
89 }