Skip to content

Commit

Permalink
Ayesh: [PHP 8.4] Fix: Curl CURLOPT_BINARYTRANSFER deprecated #675
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Oct 26, 2024
1 parent dad9e91 commit 2dc30ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/tcpdf_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,6 @@ public static function fileGetContents($file) {
// try to get remote file data using cURL
$crs = curl_init();
curl_setopt($crs, CURLOPT_URL, $path);
curl_setopt($crs, CURLOPT_BINARYTRANSFER, true);
curl_setopt($crs, CURLOPT_FAILONERROR, true);
curl_setopt($crs, CURLOPT_RETURNTRANSFER, true);
if ((ini_get('open_basedir') == '') && (!ini_get('safe_mode'))) {
Expand Down

0 comments on commit 2dc30ba

Please sign in to comment.