From 0bfc2a65e3c8a5019c2e09601005b38a7796aef8 Mon Sep 17 00:00:00 2001 From: zPlus <-> Date: Sat, 19 Mar 2016 09:00:09 +0100 Subject: [PATCH] Change template cache path --- .gitignore | 2 +- twig.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 04d39a11..e61b0e90 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/template/cache/* +/cache/template/* /*.prod \ No newline at end of file diff --git a/twig.php b/twig.php index 03f9d7ea..d64436c9 100644 --- a/twig.php +++ b/twig.php @@ -10,7 +10,7 @@ Twig_Autoloader::register(); $twig = new Twig_Environment( new Twig_Loader_Filesystem('./template/'), // Path to templates - array('cache' => './template/cache/')); // Path to templates cache + array('cache' => './cache/template/')); // Path to templates cache // GLOBALS =================================================================