Skip to content

Commit

Permalink
Merge pull request #3629 from Ayesh/php84-curl-depr
Browse files Browse the repository at this point in the history
[PHP 8.4] Fix: Curl `CURLOPT_BINARYTRANSFER` deprecated
  • Loading branch information
nao-pon authored Jan 17, 2024
2 parents 594a08f + 3df8f94 commit 66f4975
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion php/elFinder.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,6 @@ protected function curl_get_contents(&$url, $timeout, $redirect_max, $ua, $outfp
curl_setopt($ch, CURLOPT_FILE, $outfp);
} else {
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
}
curl_setopt($ch, CURLOPT_LOW_SPEED_LIMIT, 1);
curl_setopt($ch, CURLOPT_LOW_SPEED_TIME, $timeout);
Expand Down

0 comments on commit 66f4975

Please sign in to comment.