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