добален параметр Интервал обмена

This commit is contained in:
rsgrinko committed 2021-12-05 20:14:51 +03:00
1 parent 46bad84333
commit f354d0258e
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@
require_once $_SERVER['DOCUMENT_ROOT'].'/inc/header.php';
if(isset($_REQUEST['save']) and $_REQUEST['save'] == 'Y'):
$DB->update('configs', array('device' => $USER['deviceId']), array('ds_resolution' => $_REQUEST['ds_resolution']));
$DB->update('configs', array('device' => $USER['deviceId']), array('ds_resolution' => $_REQUEST['ds_resolution'], 'sending_interval' => $_REQUEST['sending_interval']));
CEvents::add('Произведено изменение конфигурации контроллера ID: '.$USER['deviceId'], 'notice', 'core');
echo '<script>alert("Настройки успешно сохранены");</script>';