Skip to content

Commit f9828e6

Browse files
committed
fix custom_user_mappings_dir
1 parent d9e2ef9 commit f9828e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resources/lib/UnityLDAP.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ class UnityLDAP extends ldapConn
2424
"top"
2525
);
2626

27-
private $custom_mappings_path = CONFIG["ldap"]["custom_user_mappings_dir"];
27+
private $custom_mappings_path = (
28+
__DIR__
29+
. "/../../"
30+
. CONFIG["ldap"]["custom_user_mappings_dir"]
31+
);
2832
private $def_user_shell = CONFIG["ldap"]["def_user_shell"];
2933
private $offset_UIDGID = CONFIG["ldap"]["offset_UIDGID"];
3034
private $offset_PIGID = CONFIG["ldap"]["offset_PIGID"];

0 commit comments

Comments
 (0)