清靈語
2022-10-15 22:06:26 +08:00
committed by Fred Brennan
parent 4c6a695a6f
commit 5780e78975
2 changed files with 2 additions and 2 deletions

View File

@@ -401,7 +401,7 @@ if (isset($_POST['delete'])) {
error($config['error']['bot']);
// Check what reCAPTCHA has to say...
$resp = json_decode(file_get_contents(sprintf('https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s',
$resp = json_decode(file_get_contents(sprintf('https://www.recaptcha.net/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s',
$config['recaptcha_private'],
urlencode($_POST['g-recaptcha-response']),
$_SERVER['REMOTE_ADDR'])), true);