[BUGFIX] Move doctrine initalization to connect() method
[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
54 $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
55 $icons = [
56 'module-install-environment' => 'EXT:install/Resources/Public/Icons/module-install-environment.svg',
57 'module-install-maintenance' => 'EXT:install/Resources/Public/Icons/module-install-maintenance.svg',
58 'module-install-settings' => 'EXT:install/Resources/Public/Icons/module-install-settings.svg',
59 'module-install-upgrade' => 'EXT:install/Resources/Public/Icons/module-install-upgrade.svg',
60 ];
61
62 foreach ($icons as $iconIdentifier => $source) {
63 $iconRegistry->registerIcon(
64 $iconIdentifier,
65 \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
66 ['source' => $source]
67 );
68 }
69
70 // Register report module additions
71 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = \TYPO3\CMS\Install\Report\InstallStatusReport::class;
72 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = \TYPO3\CMS\Install\Report\SecurityStatusReport::class;
73
74 // Only add the environment status report if not in CLI mode
75 if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI)) {
76 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
77 }