diff --git a/app/src/Middlewares.php b/app/src/Middlewares.php index bb1575d..f07fe9c 100644 --- a/app/src/Middlewares.php +++ b/app/src/Middlewares.php @@ -37,7 +37,10 @@ class Middlewares // Twig $templateCache = false; - $twig = Twig::create(APP_TEMPLATES_DIR, [ 'cache' => $templateCache ]); + $twig = Twig::create(APP_TEMPLATES_DIR, [ + 'cache' => $templateCache, + 'debug' => true, + ]); // Add the global variables $twig->getEnvironment()->addGlobal('site_name', $config->get('site.name'));