From f48084e1d68429235a5655a92b463cc5099be646 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 17:20:10 +0200 Subject: Rename program -> schedule --- view/schedule-json.php | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 view/schedule-json.php (limited to 'view/schedule-json.php') diff --git a/view/schedule-json.php b/view/schedule-json.php new file mode 100644 index 0000000..739b71b --- /dev/null +++ b/view/schedule-json.php @@ -0,0 +1,8 @@ +isEnabled()) + throw new NotFoundException('Schedule is disabled'); + +header('Content-Type: application/json'); +echo json_encode($schedule->getSchedule()); -- cgit v1.2.3