summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-20 17:29:05 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-20 17:29:05 -0600
commitaf54d199f817e8409d3893ed337ab12925716c7e (patch)
treed92a160fb98c76af689bdceceb261d447f62ebbd
parentd748bc948fd259149c8174913c45ddc6b69229e2 (diff)
downloadwebsite-af54d199f817e8409d3893ed337ab12925716c7e.tar.gz
website-af54d199f817e8409d3893ed337ab12925716c7e.tar.bz2
website-af54d199f817e8409d3893ed337ab12925716c7e.tar.xz
website-af54d199f817e8409d3893ed337ab12925716c7e.zip
Move reCAPTCHA keys into an example file
So we don't keep destroying them.
-rw-r--r--recaptcha-php/keys.php.example5
-rw-r--r--registration.php2
2 files changed, 7 insertions, 0 deletions
diff --git a/recaptcha-php/keys.php.example b/recaptcha-php/keys.php.example
new file mode 100644
index 0000000..4355a6c
--- /dev/null
+++ b/recaptcha-php/keys.php.example
@@ -0,0 +1,5 @@
+<?php
+ // Put the keys you got from the signup page
+ $publickey = "";
+ $privatekey = "";
+?> \ No newline at end of file
diff --git a/registration.php b/registration.php
index 4224e2b..74fd7f5 100644
--- a/registration.php
+++ b/registration.php
@@ -3,6 +3,8 @@
require_once('includes/libs/libmysql.php');
require_once('includes/models/account.php');
require_once('recaptcha-php/recaptchalib.php');
+
+ require_once('recaptcha-php/keys.php');
$publickey = "6LexmAQAAAAAAJD-07K2pF5RvTfIdRrlE4lKbUZ2"; // you got this from the signup page
$privatekey = ":::";