We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216f571 commit 29d364fCopy full SHA for 29d364f
src/Filesystem.php
@@ -80,7 +80,7 @@ public function delete(string $fileName)
80
public function copy(string $filePath, string $fileName)
81
{
82
if (! file_exists($this->basePath)) {
83
- mkdir($this->basePath);
+ mkdir($this->basePath, 0777, true);
84
}
85
86
copy($filePath, $this->path($fileName));
0 commit comments