1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-20 11:51:28 +02:00

Flextype Core: twig debug option added

This commit is contained in:
Awilum
2019-07-04 23:57:53 +03:00
parent e0b1ed5ad6
commit 75b80444df

View File

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