1
0

ajout en cours d'une fonctiondeleteDevice

This commit is contained in:
2022-06-21 08:57:58 +02:00
parent b3f7171421
commit 566fc0e40c
3 changed files with 33 additions and 1 deletions

View File

@ -139,6 +139,10 @@ function apiServer($read)
logger(DEBUG, $command . _(" reached"), __FILE__ . ":" . __LINE__);
htmlSend($spawn, PropertiesDashboard($argList));
break;
case "deleteDevice":
logger(DEBUG, $command . _(" reached"), __FILE__ . ":" . __LINE__);
htmlSend($spawn, deleteDevice($argList));
break;
default:
if (is_numeric(array_key_first($argList)))
{
@ -152,7 +156,6 @@ function apiServer($read)
htmlSend($spawn, file_get_contents("php://temp/". $command), 'Content-Type: image/png');
}
}
}
if (array_key_exists("page", $argList))
{