Follow-up to feature #12001: Add checks from t3lib_BEfunc::displayWarningMessages...
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE') {
7 t3lib_extMgm::addModulePath('tools_txreportsM1', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
8 t3lib_extMgm::addModule('tools', 'txreportsM1', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod/');
9
10 $statusReport = array(
11 'title' => 'LLL:EXT:reports/reports/locallang.xml:status_report_title',
12 'description' => 'LLL:EXT:reports/reports/locallang.xml:status_report_description',
13 'report' => 'tx_reports_reports_Status'
14 );
15
16 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = array_merge(
17 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'],
18 $statusReport
19 );
20
21 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['system'] = 'tx_reports_reports_status_SystemStatus';
22 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['_installtool'] = 'tx_reports_reports_status_InstallToolStatus';
23
24 }
25
26 ?>