Commit 15ffaea9 authored by José Luis  Gutiérrez's avatar José Luis Gutiérrez Committed by Adam Wujek

www: change wr_date call

Use "wr_date -n" to get host time (which might come from NTP
information) instead of WR time.
parent 8288e403
......@@ -156,7 +156,7 @@ function wrs_main_info(){
// Load variables
$wr_date = str_replace("\n","<br>",
shell_exec("/wr/bin/wr_date get"));
shell_exec("/wr/bin/wr_date -n get"));
$PPSi = wrs_check_ptp_status() ?
'[<a href="ptp.php">on</A>]' : '[<a href="ptp.php">off</A>]';
$SNMP = check_snmp_status() ? '[on] ' : '[off] ';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment