Select Git revision
exportCAPAlert.php
exportCAPAlert.php 297 B
<?php
require_once dirname(__FILE__).'/../config.inc.php';
require_once 'functions.inc.php';
$output = getCAPData();
file_put_contents(dirname(__FILE__).'/../www/xml/unlcap.xml', $output->toXML('alert', 'urn:oasis:names:tc:emergency:cap:1.2'));
include dirname(__FILE__).'/exportJSONAlert.php';