aboutsummaryrefslogtreecommitdiff
path: root/view/program-json.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-07 17:58:07 +0100
committerMaZderMind2015-03-14 13:46:47 +0100
commit844a7d53f2d78bafba479c0d931277246ade61de (patch)
tree7a9ab7e3ddcafa878f89deecc03c6de742fa2efa /view/program-json.php
parent8bb9b119a34717782e41124030917bd86d47f754 (diff)
Renames pages -> view
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());