Skip to content
Snippets Groups Projects
Select Git revision
  • 3b325a576325aa869968506ba0668c285df62ca6
  • master default protected
  • rave
  • ORIGINAL_2007
4 results

exportCAPAlert.php

Blame
  • Forked from Digital Experience Group / UNL_Alert
    2 commits behind the upstream repository.
    exportCAPAlert.php 304 B
    <?php
    require_once dirname(__FILE__).'/../config.inc.php';
    require_once 'functions.inc.php';
    
    $output = getCAPData($config);
    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';