mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 02:34:54 +02:00
Add PLUGINS to Twig path
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