[BUGFIX] Fix overloading variable name in TemplateService
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search_mysql / ext_localconf.php
index e7a3519..c43f49f 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Configure hook to query the fulltext index
-$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['pi1_hooks']['getResultRows_SQLpointer'] = '&TYPO3\CMS\IndexedSearch\Hook\MysqlFulltextIndexHook';
+$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['pi1_hooks']['getResultRows_SQLpointer'] = \TYPO3\CMS\IndexedSearchMysql\Hook\MysqlFulltextIndexHook::class;
 // Use all index_* tables except "index_rel" and "index_words"
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['use_tables'] = 'index_phash,index_fulltext,index_section,index_grlist,index_stat_search,index_stat_word,index_debug,index_config';