summaryrefslogtreecommitdiff
path: root/smartyplugins
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-02-05 02:13:10 -0500
committermodela bitweaver <spiderr@bitweaver.org>2021-02-05 02:13:10 -0500
commit47822c47ebd619938eb31858d013aaf4c51f1c98 (patch)
tree07ce53405bf86274f405e719e8a5f3281e76d952 /smartyplugins
parentb00842ac386a382c61a8f7b6314fdd60aaf447d0 (diff)
downloadusers-47822c47ebd619938eb31858d013aaf4c51f1c98.tar.gz
users-47822c47ebd619938eb31858d013aaf4c51f1c98.tar.bz2
users-47822c47ebd619938eb31858d013aaf4c51f1c98.zip
fix INCLUDE and CLASS paths
Diffstat (limited to 'smartyplugins')
-rw-r--r--smartyplugins/function.captcha.php4
1 files changed, 2 insertions, 2 deletions
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'] ) ) );
}