diff --git a/app/src/Bootstrap.php b/app/src/Bootstrap.php index a2d97cd..df085e4 100644 --- a/app/src/Bootstrap.php +++ b/app/src/Bootstrap.php @@ -84,6 +84,7 @@ class Bootstrap $templatePath = __DIR__ . "/../templates"; $templateCache = false; $twig = Twig::create($templatePath, [ 'cache' => $templateCache ]); + // Add the global variables $twig->getEnvironment() ->addGlobal('site_name', $config->get('site.name'));