diff --git a/mon/mon-lib.pl b/mon/mon-lib.pl index 7d202bd67..022868fcf 100755 --- 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',