projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36703c7
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:34 +0000
(21:29 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:34 +0000
(21:29 +0000)
bandwidth/bandwidth-lib.pl
patch
|
blob
|
history
diff --git
a/bandwidth/bandwidth-lib.pl
b/bandwidth/bandwidth-lib.pl
index
fa27b9e
..
906775d
100644
(file)
--- 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";