events/ext_localconf.php

17 lines
563 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
defined('TYPO3') || die('Access denied.');
2021-06-14 16:08:43 +02:00
call_user_func(function () {
if (
isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category']) === false
|| is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category']) === false
) {
2021-06-14 16:08:43 +02:00
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category'] = [];
}
2022-11-22 12:58:36 +01:00
$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = '^events_search';
2021-06-14 16:08:43 +02:00
});