Fix: 'Cookies must be enabled in your browser!' message on some pages (#1032)
parent
803519479a
commit
c3a3c3ab2c
|
@ -419,6 +419,7 @@ namespace {
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
|
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
|
||||||
curl_setopt($ch, CURLOPT_ENCODING, '');
|
curl_setopt($ch, CURLOPT_ENCODING, '');
|
||||||
curl_setopt($ch, CURLOPT_CERTINFO, 1);
|
curl_setopt($ch, CURLOPT_CERTINFO, 1);
|
||||||
|
curl_setopt($ch, CURLOPT_COOKIEFILE, '');
|
||||||
|
|
||||||
if (!empty($request_method)) {
|
if (!empty($request_method)) {
|
||||||
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $request_method);
|
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $request_method);
|
||||||
|
|
Loading…
Reference in New Issue