mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 11:19:21 +02:00
Add PLUGINS to Twig path
This commit is contained in:
parent
8cac9af966
commit
1d163279ce
@ -14,6 +14,8 @@ $twig = new Twig_Environment($twig_loader, array(
|
|||||||
'debug' => $dev_mode
|
'debug' => $dev_mode
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$twig_loader->addPath(PLUGINS);
|
||||||
|
|
||||||
if($dev_mode) {
|
if($dev_mode) {
|
||||||
$twig->addExtension(new Twig_DebugExtension());
|
$twig->addExtension(new Twig_DebugExtension());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user