Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit b103c50

Browse files
committed
Back compatible with 5.1. overtrue#15
1 parent ab70a6b commit b103c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StorageManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function paginateFiles(array $files, $start = 0, $size = 50)
122122
*/
123123
protected function store(UploadedFile $file, $filename)
124124
{
125-
return $this->disk->putFileAs('', $file, $filename);
125+
return $this->disk->put($filename, fopen($file->getRealPath(), 'r+'));
126126
}
127127

128128
/**

0 commit comments

Comments
 (0)