mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 13:01:08 -05:00
Fixed reCaptcha not loaded
Fixed reCaptcha bug which was causing reCaptcha to not be loaded if site is loaded over SSL.
This commit is contained in:
parent
bffe7c3973
commit
aa74dc2718
@ -35,7 +35,7 @@
|
|||||||
/**
|
/**
|
||||||
* The reCAPTCHA server URL's
|
* The reCAPTCHA server URL's
|
||||||
*/
|
*/
|
||||||
define("RECAPTCHA_API_SERVER", "http://www.google.com/recaptcha/api");
|
define("RECAPTCHA_API_SERVER", "//www.google.com/recaptcha/api");
|
||||||
define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api");
|
define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api");
|
||||||
define("RECAPTCHA_VERIFY_SERVER", "www.google.com");
|
define("RECAPTCHA_VERIFY_SERVER", "www.google.com");
|
||||||
|
|
||||||
@ -241,7 +241,7 @@ function recaptcha_mailhide_url($pubkey, $privkey, $email) {
|
|||||||
$ky = pack('H*', $privkey);
|
$ky = pack('H*', $privkey);
|
||||||
$cryptmail = _recaptcha_aes_encrypt ($email, $ky);
|
$cryptmail = _recaptcha_aes_encrypt ($email, $ky);
|
||||||
|
|
||||||
return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);
|
return "https://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user