Skip to content

Commit

Permalink
fix generate chunk path recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehrdad-Dadkhah committed Oct 23, 2017
1 parent b4d8600 commit 60b7e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChunksUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private function makeSubDirectoryForChunks(): string
$path = $this->getChunksSubDirectryPath();

if (!is_dir($path)) {
return @mkdir($path, 0775);
return $this->checkAndGenerateUploadFolder($path);
}

return true;
Expand Down

0 comments on commit 60b7e78

Please sign in to comment.