We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d1250 commit 9a69774Copy full SHA for 9a69774
Bootstraps/Symfony.php
@@ -150,7 +150,7 @@ public function postHandle($app)
150
151
//Symfony\Bundle\TwigBundle\Loader\FilesystemLoader
152
//->Twig_Loader_Filesystem
153
- if ($container->has('twig.loader')) {
+ if ($this->debug && $container->has('twig.loader')) {
154
$twigLoader = $container->get('twig.loader');
155
Utils::bindAndCall(function () use ($twigLoader) {
156
foreach ($twigLoader->cache as $path) {
0 commit comments