add templates for daemonControl to api

This commit is contained in:
Isaac Connor 2018-11-14 12:54:40 -05:00
parent d671761a35
commit 9d8f0fef0c
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
echo json_encode($status_text);

View File

@ -0,0 +1,2 @@
$xml = Xml::fromArray(array('response' => $status_text));
echo $xml->asXML();