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

index 5749953..5655d19 100644 (file)
@@ -1,9 +1,9 @@
 # wuftpd-lib.pl
 # Functions for configuring wuftpd
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # get_ftpaccess()
 # Returns a list of wuftpd config options