projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa02d2c
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:15 +0000
(21:31 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:31:15 +0000
(21:31 +0000)
mon/mon-lib.pl
patch
|
blob
|
history
diff --git
a/mon/mon-lib.pl
b/mon/mon-lib.pl
index
7d202bd
..
022868f
100755
(executable)
--- a/
mon/mon-lib.pl
+++ b/
mon/mon-lib.pl
@@
-1,9
+1,9
@@
# mon-lib.pl
# Common functions for mon
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
&init_config();
-do '../ui-lib.pl';
$mon_config_file = "$config{'cfbasedir'}/mon.cf";
$under = { '' => [ 'authtype', 'hostgroup', 'watch', 'use', 'period',