diff --git a/system/init.php b/system/init.php index 4ca0298b..0390f1a3 100644 --- a/system/init.php +++ b/system/init.php @@ -33,7 +33,8 @@ Twig_Autoloader::register(); $twig_loader = new Twig_Loader_Filesystem(SYSTEM . 'templates'); $twig = new Twig_Environment($twig_loader, array( - 'cache' => CACHE . 'twig/' + 'cache' => CACHE . 'twig/', + 'auto_reload' => true )); $function = new Twig_SimpleFunction('getStyle', function ($i) {