Skip to content

Commit 9ee2644

Browse files
committed
Fixed cache path in CacheDataPass
1 parent 72f949f commit 9ee2644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/Compiler/CacheDataPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CacheDataPass implements CompilerPassInterface
2424
public function process(ContainerBuilder $container)
2525
{
2626
if ($container->getParameter('app.cache') !== false) {
27-
$pathPrefix = '%app.cache_dir%/%app.env%/twig/';
27+
$pathPrefix = '%app.cache_dir%/twig/';
2828

2929
$definition = $container->getDefinition('twig');
3030
$definition->addMethodCall('setCache', array($pathPrefix . 'tpl'));

0 commit comments

Comments
 (0)