changed default directory permission when cache dir does not exist (closes #6)
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 17 Oct 2009 11:58:25 +0000 (11:58 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Sat, 17 Oct 2009 11:58:25 +0000 (11:58 +0000)
git-svn-id: http://svn.twig-project.org/trunk@68 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Loader.php

index cc75aa0..4eb1b96 100644 (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;