mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Remove deprecated (and non-effect) cURL option
See https://php.watch/versions/8.4/CURLOPT_BINARYTRANSFER-deprecated
This commit is contained in:
@@ -100,7 +100,6 @@ class Curl {
|
||||
// Add the filepath
|
||||
$url .= $file_path;
|
||||
|
||||
$this->option(CURLOPT_BINARYTRANSFER, TRUE);
|
||||
$this->option(CURLOPT_VERBOSE, TRUE);
|
||||
|
||||
return $this->execute();
|
||||
|
||||
@@ -433,7 +433,6 @@ class Update_model extends CI_Model {
|
||||
curl_setopt($curl, CURLOPT_FAILONERROR, true);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($curl, CURLOPT_BINARYTRANSFER,true);
|
||||
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
|
||||
|
||||
$response = curl_exec($curl);
|
||||
|
||||
Reference in New Issue
Block a user