diff --git a/.gitignore b/.gitignore index 04d39a1..e61b0e9 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 03f9d7e..d64436c 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 =================================================================