From 99ad4fed64ebc9db5ebf04ec5f9c9c94a432c60d Mon Sep 17 00:00:00 2001 From: Chuong Date: Thu, 5 May 2022 14:57:07 +0700 Subject: [PATCH] fix: temporary fix openssl issue on some machine temporary fix https://github.com/php/php-src/issues/8369 --- src/Services/MaxMindDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/MaxMindDatabase.php b/src/Services/MaxMindDatabase.php index 180c672..0e131d3 100644 --- a/src/Services/MaxMindDatabase.php +++ b/src/Services/MaxMindDatabase.php @@ -73,7 +73,7 @@ public function update() $this->withTemporaryDirectory(function ($directory) { $tarFile = sprintf('%s/maxmind.tar.gz', $directory); - file_put_contents($tarFile, fopen($this->config('update_url'), 'r')); + @file_put_contents($tarFile, fopen($this->config('update_url'), 'r')); $archive = new PharData($tarFile);