From cb5a5a6d837d656d4db5f381bb65747f8b89422c Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 3 Mar 2009 21:29:34 +0000 Subject: [PATCH] Use new module --- bandwidth/bandwidth-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bandwidth/bandwidth-lib.pl b/bandwidth/bandwidth-lib.pl index fa27b9e04..906775d10 100644 --- a/bandwidth/bandwidth-lib.pl +++ b/bandwidth/bandwidth-lib.pl @@ -5,9 +5,9 @@ # XXX option to make ports without names not server ports # XXX use is_server_port function -do '../web-lib.pl'; +BEGIN { push(@INC, ".."); }; +use WebminCore; &init_config(); -do '../ui-lib.pl'; if (&foreign_installed("syslog-ng")) { &foreign_require("syslog-ng", "syslog-ng-lib.pl"); $syslog_module = "syslog-ng";