|
|
@ -52,7 +52,7 @@ class ReCaptcha
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param string $secret shared secret between site and ReCAPTCHA server.
|
|
|
|
* @param string $secret shared secret between site and ReCAPTCHA server.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function ReCaptcha($secret)
|
|
|
|
function __construct($secret)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ($secret == null || $secret == "") {
|
|
|
|
if ($secret == null || $secret == "") {
|
|
|
|
die("To use reCAPTCHA you must get an API key from <a href='"
|
|
|
|
die("To use reCAPTCHA you must get an API key from <a href='"
|
|
|
|