d42e36fac6e9d4a3ccaa63f6ab9ed524373fcb6e
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
8 'tools',
9 'isearch',
10 'after:log',
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/'
12 );
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
14 'web_info',
15 'TYPO3\\CMS\\IndexedSearch\\Controller\\IndexedPagesController',
16 NULL,
17 'LLL:EXT:indexed_search/locallang.xlf:mod_indexed_search'
18 );
19 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
20 'web_info',
21 'TYPO3\\CMS\\IndexedSearch\\Controller\\IndexingStatisticsController',
22 NULL,
23 'LLL:EXT:indexed_search/locallang.xlf:mod2_indexed_search'
24 );
25 }
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
27 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xlf');