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'), ],