From 4764df9b0c795301976788df87fe314ecc7acece Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Thu, 14 Oct 2021 15:35:59 +1300 Subject: Use the new twig template DI in more places (#18150) * Use the new twig template DI in more places * Add possibility to prevent the deletion of template cache through DI --- config/global.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/global.php b/config/global.php index ac77d53179..f7834df256 100644 --- a/config/global.php +++ b/config/global.php @@ -33,6 +33,8 @@ return array( 'path.cache' => DI\string('{path.tmp}/cache/tracker/'), + 'view.clearcompiledtemplates.enable' => true, + 'Matomo\Cache\Eager' => function (ContainerInterface $c) { $backend = $c->get('Matomo\Cache\Backend'); $cacheId = $c->get('cache.eager.cache_id'); -- cgit v1.2.3