Remove deprecated (and non-effect) cURL option

See https://php.watch/versions/8.4/CURLOPT_BINARYTRANSFER-deprecated
This commit is contained in:
phl0
2025-10-02 16:00:33 +02:00
parent 41c9f281d2
commit b7a1cd6665
2 changed files with 0 additions and 2 deletions

View File

@@ -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();

View File

@@ -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);