From 701f7b7127098549bdf938fa799b551d3dcd348e Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 3 Mar 2009 21:30:52 +0000 Subject: [PATCH] Use new module --- ipfw/ipfw-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipfw/ipfw-lib.pl b/ipfw/ipfw-lib.pl index 4aa5a825c..2b3ddd9f4 100644 --- a/ipfw/ipfw-lib.pl +++ b/ipfw/ipfw-lib.pl @@ -3,9 +3,9 @@ # rather than a script. # XXX some thing are not supported by ipfw1 -do '../web-lib.pl'; +BEGIN { push(@INC, ".."); }; +use WebminCore; &init_config(); -do '../ui-lib.pl'; if (&foreign_check("net")) { &foreign_require("net", "net-lib.pl"); if (defined(&net::get_rc_conf)) {