Use templates dir constant for templates dir.
This commit is contained in:
parent
80c54eefc2
commit
b59b213b82
@ -182,7 +182,7 @@ class Bootstrap
|
||||
|
||||
// Twig
|
||||
$templateCache = false;
|
||||
$twig = Twig::create(APP_LOG_DIR, [ 'cache' => $templateCache ]);
|
||||
$twig = Twig::create(APP_TEMPLATES_DIR, [ 'cache' => $templateCache ]);
|
||||
|
||||
// Add the global variables
|
||||
$twig->getEnvironment()
|
||||
|
Loading…
Reference in New Issue
Block a user