Permalink
Browse files

fix temp dir creation

  • Loading branch information...
1 parent 12758a2 commit fdf2bffd8035058cd11e2db71e77d2036c372c27 @juzna committed Nov 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Nette/Config/Configurator.php
@@ -82,7 +82,7 @@ public function setTempDirectory($path)
{
$this->parameters['tempDir'] = $path;
if (($cacheDir = $this->getCacheDirectory()) && !is_dir($cacheDir)) {
- mkdir($cacheDir, 0777);
+ mkdir($cacheDir, 0777, TRUE);
}
return $this;
}

0 comments on commit fdf2bff

Please sign in to comment.