Fixed "Notice: Undefined variable: ch" on curl_setopt cookieFile
This commit is contained in:
@@ -374,8 +374,8 @@ class Request
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (self::$cookieFile) {
|
if (self::$cookieFile) {
|
||||||
curl_setopt($ch, CURLOPT_COOKIEFILE, self::$cookieFile);
|
curl_setopt(self::$handle, CURLOPT_COOKIEFILE, self::$cookieFile);
|
||||||
curl_setopt($ch, CURLOPT_COOKIEJAR, self::$cookieFile);
|
curl_setopt(self::$handle, CURLOPT_COOKIEJAR, self::$cookieFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
// supporting deprecated http auth method
|
// supporting deprecated http auth method
|
||||||
|
|||||||
Reference in New Issue
Block a user