Fix: 'Cookies must be enabled in your browser!' message on some pages

This commit is contained in:
seti 2020-10-02 15:37:01 +02:00
parent aad1a1eda7
commit 1d92327777
No known key found for this signature in database
GPG Key ID: 62E45D8FB9774C6F
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);