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

index d7337b5..818ba33 100644 (file)
@@ -2,9 +2,9 @@
 # sshd-lib.pl
 # Common functions for the ssh daemon config file
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # Get version information
 if (!&read_file("$module_config_directory/version", \%version)) {