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

index ca13b11..6bdfc5b 100644 (file)
@@ -1,9 +1,9 @@
 # tcpwrappers-lib.pl
 # Library for TCP Wrappers
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 
 # list_rules($filename)
 # Parse rules from /etc/hosts.*