Skip to content

Commit

Permalink
Merge pull request #58 from dairidong/fix-readStream
Browse files Browse the repository at this point in the history
Update QiniuAdapter.php
  • Loading branch information
overtrue authored Dec 1, 2022
2 parents a280ea9 + 6277dab commit 974f570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiniuAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function read(string $path): string

public function readStream(string $path): string
{
if (ini_get('allow_url_open')) {
if (ini_get('allow_url_fopen')) {
if ($result = fopen($this->privateDownloadUrl($path), 'r')) {
return $result;
}
Expand Down

0 comments on commit 974f570

Please sign in to comment.