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

index 432ee68..72cdf91 100644 (file)
@@ -1,7 +1,8 @@
 # sgiexports-lib.pl
 # Functions for reading and editing the SGI NFS exports file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
 
 # get_exports()