From 1d163279cedd4a0bdcca545c20c789088c034dfe Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 11 Dec 2021 06:20:55 +0100 Subject: [PATCH] Add PLUGINS to Twig path --- system/twig.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/twig.php b/system/twig.php index da4dc448..5b912875 100644 --- a/system/twig.php +++ b/system/twig.php @@ -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()); }