blob: 08f42898e778623847550503aa9e7b74639c870d (
plain)
1
2
3
4
5
6
7
8
|
<?php
$schedule = new Schedule();
if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');
header('Content-Type: application/json');
echo json_encode(program());
|