Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php |
— | — | @@ -8,7 +8,6 @@ |
9 | 9 | * |
10 | 10 | * See below for original license and other info. |
11 | 11 | */ |
12 | | - |
13 | 12 | /* |
14 | 13 | * This is a PHP library that handles calling reCAPTCHA. |
15 | 14 | * - Documentation and latest version |
— | — | @@ -42,6 +41,10 @@ |
43 | 42 | * THE SOFTWARE. |
44 | 43 | */ |
45 | 44 | |
| 45 | +// global MW variables that should be available |
| 46 | +global $wgPayflowRecaptchaUseHTTPProxy, $wgPayflowRecaptchaHTTPProxy, |
| 47 | + $wgPayflowRecaptchaTimeout, $wgProto, $wgPayflowRecaptchaComsRetryLimit; |
| 48 | + |
46 | 49 | /** |
47 | 50 | * The reCAPTCHA server URL's |
48 | 51 | */ |
— | — | @@ -366,7 +369,4 @@ |
367 | 370 | return htmlentities( $emailparts[0] ) . "<a href='" . htmlentities ( $url ) . |
368 | 371 | "' onclick=\"window.open('" . htmlentities ( $url ) . "', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">...</a>@" . htmlentities ( $emailparts [1] ); |
369 | 372 | |
370 | | -} |
371 | | - |
372 | | - |
373 | | -?> |
| 373 | +} |
\ No newline at end of file |