Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 02:39:30 +0000 (02:39 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 02:39:30 +0000 (02:39 +0000)
acl/acl-lib.pl

index 05835dd..dcd51f1 100644 (file)
@@ -11,9 +11,9 @@ Library for editing webmin users, passwords and access rights.
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 do 'md5-lib.pl';
 %access = &get_module_acl();
 $access{'switch'} = 0 if (&is_readonly_mode());