. /** * This page is used to regenerate and preview a maintenance mode static page. * * @package auth_outage * @author Daniel Thee Roperto * @copyright 2016 Catalyst IT * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ use auth_outage\dml\outagedb; use auth_outage\local\controllers\maintenance_static_page; require_once(__DIR__.'/../../config.php'); $outage = outagedb::get_next_starting(); maintenance_static_page::create_from_outage($outage); readfile(maintenance_static_page::get_template_file());