mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
add PLUGINS dir to twig paths
This commit is contained in:
parent
79fd97ad78
commit
cdae11226d
@ -14,6 +14,8 @@ $twig = new Twig_Environment($twig_loader, array(
|
||||
'debug' => $dev_mode
|
||||
));
|
||||
|
||||
$twig_loader->addPath(PLUGINS);
|
||||
|
||||
if($dev_mode) {
|
||||
$twig->addExtension(new Twig_DebugExtension());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user