[TASK] Use a 401 header if login is not successful
[Packages/TYPO3.CMS.git] / typo3 / sysext / aboutmodules / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 // Avoid that this block is loaded in frontend or within upgrade wizards
6 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
8 'TYPO3.CMS.' . $_EXTKEY,
9 'help',
10 'aboutmodules',
11 'after:about',
12 array(
13 'Modules' => 'index'
14 ),
15 array(
16 'access' => 'user,group',
17 'icon' => 'EXT:aboutmodules/ext_icon.gif',
18 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf'
19 )
20 );
21 }
22 ?>