From fd2566418bc5371b2200e8139253f12075679c44 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 15 Aug 2023 23:20:09 +0200 Subject: [PATCH] Require class.auth.ldap.php in upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e784ef0..e8cb7a4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -129,7 +129,7 @@ ynh_add_config --template="../conf/class.auth.ldap.php" --destination="$install_ cat << EOF >> $php_config -\$__autoload['ldapDcAuth'] = dirname(__FILE__).'/class.auth.ldap.php'; +require dirname(__FILE__).'/class.auth.ldap.php'; define('DC_AUTH_CLASS','ldapDcAuth'); EOF