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";