Skip to content

Commit

Permalink
Adicionado permissão para RW na criação de diretórios.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandes committed May 30, 2018
1 parent d8154cc commit da03917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileManager/FileManager.php
Expand Up @@ -55,7 +55,7 @@ public function save($keyName, $path, $filename = null)
$this->validate($file);

if (!is_dir($path)) {
mkdir($path, 0, true);
mkdir($path, 775, true);
}

$filename = !is_null($filename) ? $filename : sha1_file($file['tmp_name']);
Expand Down

0 comments on commit da03917

Please sign in to comment.