summary refs log tree commit diff stats
path: root/includes/comments.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-03-12 21:46:15 -0500
committerStarla Insigna <hatkirby@fourisland.com>2010-03-12 21:46:15 -0500
commit3b2e04f16a595893e8736a9b816bad81ecc8bf6a (patch)
tree61449c358aa11efb776f8415a261bf712217c80e /includes/comments.php
parent78570eed305682021c1791b1f44ca9235cfcb9ac (diff)
downloadfourisland-3b2e04f16a595893e8736a9b816bad81ecc8bf6a.tar.gz
fourisland-3b2e04f16a595893e8736a9b816bad81ecc8bf6a.tar.bz2
fourisland-3b2e04f16a595893e8736a9b816bad81ecc8bf6a.zip
Added working CAPTCHA
After a little digging, it turned out that the reason that reCAPTCHA always failed was because the reCAPTCHA server was blocked to the server. This should've
been obvious as the reCAPTCHA always worked on the development server.
Diffstat (limited to 'includes/comments.php')
-rwxr-xr-xincludes/comments.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/includes/comments.php b/includes/comments.php index 78353c1..aca3eb1 100755 --- a/includes/comments.php +++ b/includes/comments.php
@@ -22,10 +22,6 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22 22
23require('headerproc.php'); 23require('headerproc.php');
24 24
25include('includes/recaptchalib.php');
26$publickey = "6LfgvgEAAAAAAG_BJMkWk8sNcT1nBaGoXKJYb-JT";
27$privatekey = "6LfgvgEAAAAAAD0_UVLp57MU7tqcypsbZPS9qTnr";
28
29$curID = 0; 25$curID = 0;
30 26
31$template = new FITemplate('comments'); 27$template = new FITemplate('comments');
@@ -34,7 +30,6 @@ $template->add('USERNAME',(isLoggedIn() ? getSessionUsername() : 'Anonymous'));
34 30
35if (!isLoggedIn()) 31if (!isLoggedIn())
36{ 32{
37 $template->add('RECAPTCHA',recaptcha_get_html($publickey));
38 $template->adds_block('NOLOG',array('exi'=>1)); 33 $template->adds_block('NOLOG',array('exi'=>1));
39} 34}
40 35