Fix: 'Cookies must be enabled in your browser!' message on some pages (#1032)

This commit is contained in:
Seti 2021-04-02 00:58:08 +02:00 committed by GitHub
parent 803519479a
commit c3a3c3ab2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -419,6 +419,7 @@ namespace {
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_CERTINFO, 1);
curl_setopt($ch, CURLOPT_COOKIEFILE, '');
if (!empty($request_method)) {
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $request_method);