From 3c456caeca37ab221ba7c3ae17aad6252eca2ac8 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Wed, 2 Sep 2020 19:45:08 +0200 Subject: [PATCH] Update othervise reload redo restart --- app/controllers/deviceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/deviceController.php b/app/controllers/deviceController.php index 75c3b00..43ce0d0 100644 --- a/app/controllers/deviceController.php +++ b/app/controllers/deviceController.php @@ -20,6 +20,6 @@ if (!empty ($_POST)){ $deviceManager = new DeviceManager (); $deviceManager->edit ($_POST['deviceId'], array ('command' => $_POST['deviceCommand'])); } - //header('Location: ./'); - //die(); + header('Location: ./device'); + die(); }