From 2b24a4263cc3e85136291baa1651b52513c3281b Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Sat, 25 May 2024 12:02:18 -0400 Subject: [PATCH] Add line in bootstrap file --- app/src/Bootstrap.php | 1 + 1 file changed, 1 insertion(+) 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'));