Add line in bootstrap file
This commit is contained in:
parent
f3f36b333c
commit
2b24a4263c
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user