From 47822c47ebd619938eb31858d013aaf4c51f1c98 Mon Sep 17 00:00:00 2001 From: modela bitweaver Date: Fri, 5 Feb 2021 02:13:10 -0500 Subject: fix INCLUDE and CLASS paths --- smartyplugins/function.captcha.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smartyplugins') diff --git a/smartyplugins/function.captcha.php b/smartyplugins/function.captcha.php index 6f062e4..e135f19 100644 --- a/smartyplugins/function.captcha.php +++ b/smartyplugins/function.captcha.php @@ -12,14 +12,14 @@ function smarty_function_captcha( $pParams, &$gBitSmarty ) { global $gBitSystem, $gBitUser; if( $gBitSystem->isFeatureActive('users_register_recaptcha') ) { - require_once USERS_PKG_PATH.'includes/recaptcha/autoload.php'; + require_once USERS_PKG_INCLUDE_PATH.'recaptcha/autoload.php'; if( $recapKey = $gBitSystem->getConfig( 'users_register_recaptcha_secret_key' ) ) { $recaptcha = new \ReCaptcha\ReCaptcha( $recapKey ); } } if( $gBitSystem->isFeatureActive('users_register_smcaptcha') ) { - require_once( USERS_PKG_PATH.'includes/solvemedialib.php' ); + require_once( USERS_PKG_INCLUDE_PATH.'solvemedialib.php' ); $gBitSmarty->assign( 'solveMediaHtml', solvemedia_get_html( $gBitSystem->getConfig( 'users_register_smcaptcha_c_key'), null, !empty( $_SERVER['HTTPS'] ) ) ); } -- cgit v1.3