mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user