diff --git a/dfsadmin/dfs-lib.pl b/dfsadmin/dfs-lib.pl index 115ebdb71..f1aed75cf 100644 --- a/dfsadmin/dfs-lib.pl +++ b/dfsadmin/dfs-lib.pl @@ -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';