adding 3rd party lib folder
This commit is contained in:
parent
595e0e2dba
commit
5221d7a744
@ -8,7 +8,7 @@ if (!$config['website']['registration']) {
|
|||||||
$smarty->assign("CONTENT", "disabled.tpl");
|
$smarty->assign("CONTENT", "disabled.tpl");
|
||||||
} else {
|
} else {
|
||||||
if ($config['recaptcha']['enabled']) {
|
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']));
|
$smarty->assign("RECAPTCHA", recaptcha_get_html($config['recaptcha']['public_key']));
|
||||||
}
|
}
|
||||||
// Tempalte specifics
|
// Tempalte specifics
|
||||||
|
|||||||
@ -4,7 +4,7 @@ if (!defined('SECURITY')) die('Hacking attempt');
|
|||||||
|
|
||||||
if ($config['recaptcha']['enabled']) {
|
if ($config['recaptcha']['enabled']) {
|
||||||
// Load re-captcha specific data
|
// Load re-captcha specific data
|
||||||
require_once(INCLUDE_DIR . '/recaptchalib.php');
|
require_once(INCLUDE_DIR . '/lib/recaptchalib.php');
|
||||||
$rsp = recaptcha_check_answer (
|
$rsp = recaptcha_check_answer (
|
||||||
$config['recaptcha']['private_key'],
|
$config['recaptcha']['private_key'],
|
||||||
$_SERVER["REMOTE_ADDR"],
|
$_SERVER["REMOTE_ADDR"],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user