Skip to content

Commit

Permalink
Merge pull request #218 from JediKev/storage-fs/mkdir-octal-numbers
Browse files Browse the repository at this point in the history
Reviewed-By: JediKev <[email protected]>, aydreeihn <[email protected]>, protich <[email protected]>
  • Loading branch information
JediKev authored Feb 1, 2022
2 parents b2d668e + 1559d11 commit e5ed68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage-fs/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function getPath($hash) {
// Auto-create the subfolders
$base .= '/'.$prefix;
if (!is_dir($base))
mkdir($base, 751);
mkdir($base, 0751);

return $base.'/'.$hash;
}
Expand Down

0 comments on commit e5ed68a

Please sign in to comment.