]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix URLs to reflect change in reCAPTCHA API
authorZach Copley <zach@status.net>
Wed, 27 Apr 2011 19:40:43 +0000 (19:40 +0000)
committerZach Copley <zach@status.net>
Wed, 27 Apr 2011 19:48:25 +0000 (19:48 +0000)
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);