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

index 9187c70..38d598f 100644 (file)
@@ -1,9 +1,9 @@
 # sentry-lib.pl
 # Functions for configuring portsentry, hostsentry and logcheck
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # get_portsentry_config()
 # Parses the portsentry.conf file