Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 23:54:09 +0000 (23:54 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 23:54:09 +0000 (23:54 +0000)
proftpd/proftpd-lib.pl

index ebc392a..55f0f7b 100644 (file)
@@ -1,9 +1,9 @@
 # proftpd-lib.pl
 # Common functions for the proftpd server config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # Load the site-specific information on the server executable
 &read_file("$module_config_directory/site", \%site);