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
This commit is contained in:
fabien
2009-10-17 11:58:25 +00:00
parent c25913eabd
commit e511ec0802
+1 -1
View File
@@ -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;