diff --git a/src/QiniuAdapter.php b/src/QiniuAdapter.php index 890537e..e1bc289 100644 --- a/src/QiniuAdapter.php +++ b/src/QiniuAdapter.php @@ -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; }