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

index 5f2abf1..0a50028 100644 (file)
@@ -1,10 +1,10 @@
 # export-lib.pl
 # Common functions for the linux exports file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
 %access = &get_module_acl();
-do '../ui-lib.pl';
 &foreign_require("mount", "mount-lib.pl");
 our $nfsv4_root;