Skip to content
Snippets Groups Projects
Commit 879c1ea6 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #4949 add customized ldap

parent 9336c131
No related branches found
No related tags found
No related merge requests found
......@@ -122,10 +122,12 @@ if (! empty($_SESSION['error'])) {
$classLdap = 'class_adLDAP.php';
}
if (!include $_SESSION['config']['corepath'] . 'modules/ldap/class/'.$classLdap)
//customized or not
if (!@include $_SESSION['config']['corepath'] . '/custom/' . $_SESSION['custom_override_id'] . '/modules/ldap/class/'.$classLdap)
{
exit('Impossible de charger class_' . $_SESSION['config']['corepath']
. 'modules/ldap/class/'.$classLdap."\n");
if(!@include $_SESSION['config']['corepath'] . 'modules/ldap/class/'.$classLdap){
exit('Impossible de charger class_' . $_SESSION['config']['corepath'] . '/modules/ldap/class/'.$classLdap."\n");
}
}
if ($prefix_login <> '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment