From 75b80444df451fc3a7d2d60ef098ee8f033c6aef Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 4 Jul 2019 23:57:53 +0300 Subject: [PATCH] Flextype Core: twig debug option added --- flextype/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/flextype/bootstrap.php b/flextype/bootstrap.php index b8dc1952..c0f772d0 100755 --- a/flextype/bootstrap.php +++ b/flextype/bootstrap.php @@ -82,6 +82,7 @@ $app = new \Slim\App(['settings' => [ 'responseChunkSize' => $registry->get('settings.response_chunk_size'), 'httpVersion' => $registry->get('settings.http_version'), 'twig' => [ + 'debug' => $registry->get('settings.errors.display'), 'cache' => PATH['cache'] . '/twig', 'auto_reload' => $registry->get('settings.twig.auto_reload'), ],