Use new module
authorJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:02 +0000 (21:31 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:02 +0000 (21:31 +0000)
ldap-server/ldap-server-lib.pl

index 00061aa..bf0037e 100644 (file)
@@ -1,9 +1,9 @@
 # Functions for configuring and talking to an LDAP server
 # XXX make sure ACLs work!
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 eval "use Net::LDAP";