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

index 115ebdb..f1aed75 100644 (file)
@@ -1,9 +1,9 @@
 # dfs-lib.pl
 # Common functions for managing dfstab files
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 
 $default_type = 'nfs';