diff --git a/CHANGELOG b/CHANGELOG index 300514ecc..e7f2ffa19 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ * 0.9.8 + * fixed default cache umask * removed Twig_Template instances from the debug tag output * fixed objects with __isset() defined * fixed set tag when used with a capture diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index f8244cd91..9945b5799 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -147,7 +147,7 @@ class Twig_Environment $this->cache = $cache; if ($this->cache && !is_dir($this->cache)) { - mkdir($this->cache, 0755, true); + mkdir($this->cache, 0777, true); } }