mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
add PLUGINS dir to twig paths
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user