Skip to content

Commit 29d364f

Browse files
authored
Update Filesystem.php
1 parent 216f571 commit 29d364f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function delete(string $fileName)
8080
public function copy(string $filePath, string $fileName)
8181
{
8282
if (! file_exists($this->basePath)) {
83-
mkdir($this->basePath);
83+
mkdir($this->basePath, 0777, true);
8484
}
8585

8686
copy($filePath, $this->path($fileName));

0 commit comments

Comments
 (0)