Skip to content

Commit 12620e4

Browse files
committed
Возможность отключать кэширование
1 parent 86a89b7 commit 12620e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Twig/TwigInitializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private function initTwig(
127127
$loader,
128128
[
129129
'debug' => (bool)$debug,
130-
'cache' => $cachePath,
130+
'cache' => $cachePath ?: false,
131131
]
132132
);
133133
}

0 commit comments

Comments
 (0)