ajout en cours d'une fonctiondeleteDevice
This commit is contained in:
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user