zoneminder/web/api/app/View/Servers/xml/index.ctp

3 lines
74 B
PHP

$xml = Xml::fromArray(array('response' => $servers));
echo $xml->asXML();