mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Update twig.php
This commit is contained in:
parent
95343cec02
commit
6f58df0467
@ -16,6 +16,8 @@ use Twig\Loader\FilesystemLoader as Twig_FilesystemLoader;
|
||||
use Twig\TwigFilter;
|
||||
use Twig\TwigFunction;
|
||||
|
||||
global $twig, $twig_loader;
|
||||
|
||||
$dev_mode = (config('env') === 'dev');
|
||||
$twig_loader = new Twig_FilesystemLoader(SYSTEM . 'templates');
|
||||
$twig = new Twig_Environment($twig_loader, array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user