From 5221d7a7447a5dd980a2149dd10e2ca1acb01367 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 21 Jun 2013 08:48:38 +0200 Subject: [PATCH] adding 3rd party lib folder --- public/include/{ => lib}/recaptchalib.php | 0 public/include/pages/register.inc.php | 2 +- public/include/pages/register/register.inc.php | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename public/include/{ => lib}/recaptchalib.php (100%) diff --git a/public/include/recaptchalib.php b/public/include/lib/recaptchalib.php similarity index 100% rename from public/include/recaptchalib.php rename to public/include/lib/recaptchalib.php diff --git a/public/include/pages/register.inc.php b/public/include/pages/register.inc.php index d0a1d713..29e1587c 100644 --- a/public/include/pages/register.inc.php +++ b/public/include/pages/register.inc.php @@ -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 diff --git a/public/include/pages/register/register.inc.php b/public/include/pages/register/register.inc.php index ce41630e..bf741424 100644 --- a/public/include/pages/register/register.inc.php +++ b/public/include/pages/register/register.inc.php @@ -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"],