[BUGFIX] Set correct workspace ID when updating referenceIndex for files
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE === 'BE') {
6 // Register report module additions
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport';
8
9 // Only add the environment status report if not in CLI mode
10 if (!defined('TYPO3_cliMode') || !TYPO3_cliMode) {
11 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = 'TYPO3\\CMS\\Install\\Report\\EnvironmentStatusReport';
12 }
13
14 // Register backend module
15 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
16 'TYPO3.CMS.' . $_EXTKEY,
17 'system',
18 'install', '', array(
19 'BackendModule' => 'index, showEnableInstallToolButton, enableInstallTool',
20 ),
21 array(
22 'access' => 'admin',
23 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/Icon/BackendModule.gif',
24 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/BackendModule.xlf',
25 )
26 );
27 }