diff --git a/time/index.cgi b/time/index.cgi index e8d2958aa..745c87459 100755 --- a/time/index.cgi +++ b/time/index.cgi @@ -15,7 +15,7 @@ else { $arr = "0"; } &ui_print_header(undef, $text{ 'index_title' }, "", "index", 1, 1, undef, - &help_search_link("date hwclock", "man"), + &help_search_link("date hwclock ntpdate", "man"), qq(\n), qq(onLoad="F=[$arr];timeInit(F); setTimeout('timeUpdate(F)', 5000);")); diff --git a/time/time-lib.pl b/time/time-lib.pl index 7ae19dd07..1f801c8e8 100755 --- a/time/time-lib.pl +++ b/time/time-lib.pl @@ -1,8 +1,8 @@ #!/usr/local/bin/perl -do "../web-lib.pl"; +BEGIN { push(@INC, ".."); }; +use WebminCore; &init_config(); -do '../ui-lib.pl'; %access = &get_module_acl(); $cron_cmd = "$module_config_directory/sync.pl"; if ($config{'zone_style'}) {