forked from slub/typo3-find
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
18 lines (16 loc) · 878 Bytes
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Subugoe.' . $_EXTKEY, // The extension name (in UpperCamelCase) with vendor prefix
'Find', // A unique name of the plugin in UpperCamelCase
array ( // An array holding the enabled controller-action-combinations
'Search' => 'index, detail, suggest', // The first controller and its first action will be the default
),
array ( // An array holding the non-cachable controller-action-combinations
'Search' => 'index, detail, suggest', // The first controller and its first action will be the default
)
);
// RealURL autoconfiguration
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration']['find'] = 'EXT:find/Classes/Hooks/RealUrl.php:Tx_Find_Hooks_RealUrl->addRealUrlConfiguration';