aboutsummaryrefslogtreecommitdiff
path: root/view/program-json.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/program-json.php')
-rw-r--r--view/program-json.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/program-json.php b/view/program-json.php
new file mode 100644
index 0000000..4cce716
--- /dev/null
+++ b/view/program-json.php
@@ -0,0 +1,4 @@
+<?php
+
+header('Content-Type: application/json');
+echo json_encode(program());