From e179192911ee6bf404025a8146abb79e3f124fc2 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 28 Jun 2010 12:39:10 +0200 Subject: [PATCH] fixed default cache umask (closes #76) --- CHANGELOG | 1 + lib/Twig/Environment.php | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) 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); } } -- 1.7.2.5