Revize 1511
Přidáno uživatelem David Raška před více než 12 roky(ů)
freenetis/branches/testing/application/controllers/web_interface.php | ||
---|---|---|
{
|
||
echo "$ip->ip_address\n";
|
||
}
|
||
|
||
// set state of module (last activation time)
|
||
Settings::set('traffic_monitoring_state', date('Y-m-d H:i:s'));
|
||
}
|
||
|
||
/**
|
||
... | ... | |
|
||
$monitor_host_model = new Monitor_host_Model();
|
||
|
||
foreach ($ips as $i => $ip)
|
||
{
|
||
$monitor_host_model->update_host($ip, Monitor_host_Model::get_state($states[$i]), $lats[$i]);
|
||
if (is_array($ips) && is_array($states) && is_array($lats))
|
||
{
|
||
foreach ($ips as $i => $ip)
|
||
{
|
||
if (isset($states[$i]) && isset($lats[$i]))
|
||
$monitor_host_model->update_host($ip, Monitor_host_Model::get_state($states[$i]), $lats[$i]);
|
||
}
|
||
|
||
// set state of module (last activation time)
|
||
Settings::set('device_monitoring_state', date('Y-m-d H:i:s'));
|
||
}
|
||
|
||
// set state of module (last activation time)
|
||
Settings::set('device_monitoring_state', date('Y-m-d H:i:s'));
|
||
}
|
||
|
||
/**
|
Také k dispozici: Unified diff
Opravy:
- Oprava ve web_interface