]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Recaptcha/RecaptchaPlugin.php
Fix URLs to reflect change in reCAPTCHA API
[quix0rs-gnu-social.git] / plugins / Recaptcha / RecaptchaPlugin.php
index adbd022e80365ca8f11fb48c51c609600d6a79ad..fbc0e0cac1ecf43a4b708c034580f9784ab6f80c 100644 (file)
@@ -71,9 +71,9 @@ class RecaptchaPlugin extends Plugin
         if (isset($action->recaptchaPluginNeedsOutput) && $action->recaptchaPluginNeedsOutput) {
             // Load the AJAX API
             if (StatusNet::isHTTPS()) {
-                $url = "https://api-secure.recaptcha.net/js/recaptcha_ajax.js";
+                $url = "https://www.google.com/recaptcha/api/js/recaptcha_ajax.js";
             } else {
-                $url = "http://api.recaptcha.net/js/recaptcha_ajax.js";
+                $url = "http://www.google.com/recaptcha/api/js/recaptcha_ajax.js";
             }
             $action->script($url);