projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
819941b
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:30:36 +0000
(21:30 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:30:36 +0000
(21:30 +0000)
heartbeat/heartbeat-lib.pl
patch
|
blob
|
history
diff --git
a/heartbeat/heartbeat-lib.pl
b/heartbeat/heartbeat-lib.pl
index
0b3fd58
..
2865acd
100644
(file)
--- a/
heartbeat/heartbeat-lib.pl
+++ b/
heartbeat/heartbeat-lib.pl
@@
-1,9
+1,9
@@
# heartbeat-lib.pl
# Common functions for heartbeat tool configuration
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
&init_config();
-do '../ui-lib.pl';
$ha_cf = $config{'ha_cf'} ? $config{'ha_cf'} : "$config{'ha_dir'}/ha.cf";
$haresources = $config{'haresources'} ? $config{'haresources'}