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