laravel-geoip
laravel-geoip copied to clipboard
fix: temporary fix openssl issue on some machine
Hello,
Php currently have an issue with openssl https://github.com/php/php-src/issues/8369,
For some machine, file_get_contents and file_put_contents will fail, we could fix it with this approach https://github.com/guzzle/psr7/issues/504#issuecomment-1114693965, but I think it overkill for a simple database update command.
I'll revert this commit sometime in the future when php got fix.