From: fabien Date: Sat, 17 Oct 2009 11:58:25 +0000 (+0000) Subject: changed default directory permission when cache dir does not exist (closes #6) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e511ec08029355902b4776ad14fbe7acb4b76f8f;p=konrad%2Ftwig.git changed default directory permission when cache dir does not exist (closes #6) git-svn-id: http://svn.twig-project.org/trunk@68 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/lib/Twig/Loader.php b/lib/Twig/Loader.php index cc75aa0..4eb1b96 100644 --- a/lib/Twig/Loader.php +++ b/lib/Twig/Loader.php @@ -44,7 +44,7 @@ abstract class Twig_Loader implements Twig_LoaderInterface if (false !== $this->cache && !is_dir($this->cache)) { - mkdir($this->cache, 0777, true); + mkdir($this->cache, 0755, true); } $this->autoReload = $autoReload;