]> git.agnieray.net Git - galette.git/blobdiff - galette/includes/dependencies.php
Merge branch 'hotfix/1.0.3'
[galette.git] / galette / includes / dependencies.php
index 8a751a9c00e9fa16e7532549be5b55b00225e501..7275eb494df41e70d25fa74bd4c52c4eabf544e9 100644 (file)
@@ -71,7 +71,7 @@ $container->set('Slim\Views\Twig', function (ContainerInterface $c) {
     $view = Twig::create(
         $templates,
         [
-            'cache' => rtrim(GALETTE_CACHE_DIR, DIRECTORY_SEPARATOR),
+            'cache' => rtrim(GALETTE_CACHE_DIR, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'templates',
             'debug' => \Galette\Core\Galette::isDebugEnabled(),
             'strict_variables' => \Galette\Core\Galette::isDebugEnabled()
         ]