File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -421,18 +421,18 @@ public static function send_request($queryObject = '', $type = '')
421421 // Set the port
422422 curl_setopt ($ http , CURLOPT_PROXYPORT , $ proxy_details ['port ' ]);
423423
424- }
425- }
426- if (array_***_exists ("username " ,$ proxy_details ) && array_***_exists ("password " ,$ proxy_details )){
427- if ($ proxy_details ['username ' ] != '' && $ proxy_details ['password ' ] != '' ) {
424+ if (array_***_exists ("username " ,$ proxy_details ) && array_***_exists ("password " ,$ proxy_details )){
425+ if ($ proxy_details ['username ' ] != '' && $ proxy_details ['password ' ] != '' ) {
428426
429- $ proxyauth = $ proxy_details ['username ' ].": " .$ proxy_details ['password ' ];
430- // Set the username and password
431- curl_setopt ($ http , CURLOPT_PROXYUSERPWD , $ proxyauth );
432-
427+ $ proxyauth = $ proxy_details ['username ' ].": " .$ proxy_details ['password ' ];
428+ // Set the username and password
429+ curl_setopt ($ http , CURLOPT_PROXYUSERPWD , $ proxyauth );
430+
431+ }
432+ }
433433 }
434434 }
435-
435+
436436 $ response = curl_exec ($ http );
437437 // status code extraction
438438 $ httpcode = curl_getinfo ($ http , CURLINFO_HTTP_CODE );
You can’t perform that action at this time.
0 commit comments