-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathext_localconf.php
More file actions
20 lines (14 loc) · 705 Bytes
/
ext_localconf.php
File metadata and controls
20 lines (14 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
defined('TYPO3') or die();
\AOE\Crawler\Utility\HookUtility::registerHooks('crawler');
if (!\TYPO3\CMS\Core\Core\Environment::isComposerMode()) {
require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('crawler') . '/Resources/Private/Php/Libraries/vendor/autoload.php';
}
$packageManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Package\PackageManager::class);
if ($packageManager->isPackageActive('indexed_search')) {
// Register with "indexed_search" extension
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['procInstructions']['indexed_search'] = [
'key' => 'tx_indexedsearch_reindex',
'value' => 'Re-indexing'
];
}