Use templates dir constant for templates dir.

This commit is contained in:
Dave Smith-Hayes 2024-06-17 21:57:21 -04:00
parent 80c54eefc2
commit b59b213b82

View File

@ -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()