File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,8 +142,7 @@ function Send(){
142142 curl_setopt ($ this ->Curl , CURLOPT_FOLLOWLOCATION , $ this ->FollowLocation );
143143 curl_setopt ($ this ->Curl , CURLOPT_CONNECTTIMEOUT , $ this ->ConnectionTimeout );
144144 curl_setopt ($ this ->Curl , CURLOPT_TIMEOUT , $ this ->Timeout );
145- curl_setopt ($ this ->Curl , CURLOPT_SSLVERSION , 6 );
146- curl_setopt ($ this ->Curl , CURLOPT_SAFE_UPLOAD , false ); // !!!! required as of PHP 5.6.0 for files !!!
145+ curl_setopt ($ this ->Curl , CURLOPT_SSLVERSION , 6 );
147146 curl_setopt ($ this ->Curl , CURLOPT_USERAGENT , "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) " );
148147
149148 // Proxy
@@ -171,8 +170,6 @@ function Send(){
171170 if ($ this ->Method != "GET " ){
172171 curl_setopt ($ this ->Curl , CURLOPT_POST , 1 );
173172
174- echo json_encode ($ this ->Data );
175-
176173 // Json headers
177174 if ($ this ->Json == true ){
178175 curl_setopt ($ this ->Curl , CURLOPT_POSTFIELDS , json_encode ($ this ->Data ));
You can’t perform that action at this time.
0 commit comments