From: Fabien Potencier Date: Mon, 28 Jun 2010 10:39:10 +0000 (+0200) Subject: fixed default cache umask (closes #76) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e179192911ee6bf404025a8146abb79e3f124fc2;p=web%2Fkonrad%2Ftwig.git fixed default cache umask (closes #76) --- diff --git a/CHANGELOG b/CHANGELOG index 300514e..e7f2ffa 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 f8244cd..9945b57 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); } }