Add favicon ; change measurements ; fix on ping module

This commit is contained in:
ShevAbam
2014-11-11 15:28:05 +01:00
parent e78dc167c2
commit 6e4e1f3d0b
5 changed files with 12 additions and 5 deletions
+5
View File
@@ -14,6 +14,11 @@ foreach ($hosts as $host)
{
exec('/bin/ping -qc 1 '.$host.' | awk -F/ \'/^rtt/ { print $5 }\'', $result);
if (!isset($result[0]))
{
$result[0] = 0;
}
$datas[] = array(
'host' => $host,
'ping' => $result[0],