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

exportCAPAlert.php

Blame
  • Forked from Digital Experience Group / UNL_Alert
    Source project has a limited visibility.
    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';