Skip to content

Commit 66f4975

Browse files
authored
Merge pull request #3629 from Ayesh/php84-curl-depr
[PHP 8.4] Fix: Curl `CURLOPT_BINARYTRANSFER` deprecated
2 parents 594a08f + 3df8f94 commit 66f4975

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

php/elFinder.class.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,6 @@ protected function curl_get_contents(&$url, $timeout, $redirect_max, $ua, $outfp
27062706
curl_setopt($ch, CURLOPT_FILE, $outfp);
27072707
} else {
27082708
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
2709-
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
27102709
}
27112710
curl_setopt($ch, CURLOPT_LOW_SPEED_LIMIT, 1);
27122711
curl_setopt($ch, CURLOPT_LOW_SPEED_TIME, $timeout);

0 commit comments

Comments
 (0)