Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php |
— | — | @@ -163,7 +163,7 @@ |
164 | 164 | // set proxy settings if necessary |
165 | 165 | if ( RECAPTCHA_USE_HTTP_PROXY ) { |
166 | 166 | wfDebugLog( 'payflowpro_gateway', 'Using http proxy ' . RECAPTCHA_HTTP_PROXY ); |
167 | | - curl_setopt( $ch, CURLPROXY_HTTP ); |
| 167 | + curl_setopt( $ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP ); |
168 | 168 | curl_setopt( $ch, CURLOPT_PROXY, RECAPTCHA_HTTP_PROXY ); |
169 | 169 | } |
170 | 170 | |