Defined latency for new added servers

This commit is contained in:
TimZ99 2018-03-02 22:29:54 +00:00 committed by Timz99
parent 4348b7c91a
commit 7059ac6607
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 2 additions and 0 deletions

View File

@ -269,6 +269,7 @@ class ServerController extends AbstractServerController {
'pattern' => psm_POST('pattern', ''),
'header_name' => psm_POST('header_name', ''),
'header_value' => psm_POST('header_value', ''),
'rtime' => psm_POST('rtime', '0.0000000'),
'warning_threshold' => intval(psm_POST('warning_threshold', 0)),
'active' => in_array($_POST['active'], array('yes', 'no')) ? $_POST['active'] : 'no',
'email' => in_array($_POST['email'], array('yes', 'no')) ? $_POST['email'] : 'no',
@ -515,3 +516,4 @@ class ServerController extends AbstractServerController {
return $result;
}
}