adding 3rd party lib folder

This commit is contained in:
Sebastian Grewe 2013-06-21 08:48:38 +02:00
parent 595e0e2dba
commit 5221d7a744
3 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ if (!$config['website']['registration']) {
$smarty->assign("CONTENT", "disabled.tpl");
} else {
if ($config['recaptcha']['enabled']) {
require_once(INCLUDE_DIR . '/recaptchalib.php');
require_once(INCLUDE_DIR . '/lib/recaptchalib.php');
$smarty->assign("RECAPTCHA", recaptcha_get_html($config['recaptcha']['public_key']));
}
// Tempalte specifics

View File

@ -4,7 +4,7 @@ if (!defined('SECURITY')) die('Hacking attempt');
if ($config['recaptcha']['enabled']) {
// Load re-captcha specific data
require_once(INCLUDE_DIR . '/recaptchalib.php');
require_once(INCLUDE_DIR . '/lib/recaptchalib.php');
$rsp = recaptcha_check_answer (
$config['recaptcha']['private_key'],
$_SERVER["REMOTE_ADDR"],