Skip to content
Snippets Groups Projects
Commit 7b696e1f authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

www: fix spliting output from wr_date in WR Monitoring


Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 11a0c28d
Branches
Tags
No related merge requests found
......@@ -36,7 +36,8 @@ function getTiming(){
#Obtain wr date
function getWrDate(){
$wr_date = str_replace("\n","<br>", shell_exec("/wr/bin/wr_date -n get |tail -2"));
$wr_date = shell_exec("/wr/bin/wr_date -n get |tail -2");
$wr_date = explode("\n", $wr_date);
return $wr_date;
}
......
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