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

index 9d51b6b..b1f7b35 100644 (file)
@@ -10,9 +10,9 @@ Functions to support the change passwords module. Some example code :
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 =head2 can_edit_passwd(&user)