Ver código fonte

Merge pull request #11 from tony1661/remove-curlopt-binarytransfer

remove deprecated curl option
FusionPBX 1 ano atrás
pai
commit
d4772859af
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      resources/service/message_send_outbound.php

+ 0 - 1
resources/service/message_send_outbound.php

@@ -462,7 +462,6 @@
 	}
 	curl_setopt($ch, CURLOPT_VERBOSE, 1);
 	curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $setting['http_method']);
-	curl_setopt($ch, CURLOPT_BINARYTRANSFER, TRUE);
 	curl_setopt($ch, CURLOPT_POSTFIELDS, $http_content); // file_get_contents($file_path.'/'.$file_name));
 	curl_setopt($ch, CURLOPT_POST, 1);
 	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20);	//The number of seconds to wait while trying to connect.