Skip to content
Snippets Groups Projects
Commit adbee4c5 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Avoid duplicate typoscript cache configuration

The default configuration of new typoscript
cache has been accidently added twice: In
ext:frontend ext_localconf.php and in
DefaultConfiguration.php.

Remove the one from ext:frontend.

Resolves: #99095
Related: #97816
Releases: main
Change-Id: I94eff13d894b9e22bc61b61fb29546dcfd695d96
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76610


Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 37c9a940
Branches
Tags
No related merge requests found
......@@ -2,8 +2,6 @@
declare(strict_types=1);
use TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend;
use TYPO3\CMS\Core\Cache\Frontend\PhpFrontend;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Frontend\Controller\ShowImageController;
use TYPO3\CMS\Frontend\Hooks\TreelistCacheUpdateHooks;
......@@ -13,17 +11,6 @@ defined('TYPO3') or die();
// Register eID provider for showpic
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_cms_showpic'] = ShowImageController::class . '::processRequest';
// Register TypoScript caching
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['typoscript'] ?? null)) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['typoscript'] = [
'frontend' => PhpFrontend::class,
'backend' => SimpleFileBackend::class,
'groups' => [
'pages',
],
];
}
ExtensionManagementUtility::addUserTSConfig('
options.saveDocView = 1
options.saveDocNew = 1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment