mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-24 18:16:10 +01:00
16 lines
563 B
PHP
16 lines
563 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
defined('TYPO3') || die('Access denied.');
|
|
|
|
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
|
|
) {
|
|
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['events_category'] = [];
|
|
}
|
|
|
|
$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = '^events_search';
|
|
});
|