aboutsummaryrefslogtreecommitdiff
path: root/program-json.php
diff options
context:
space:
mode:
authorMaZderMind2014-11-10 01:07:11 +0100
committerMaZderMind2014-11-10 01:07:11 +0100
commit2ad3b1c61c4d2f11ad57840a091e4db397689405 (patch)
tree4d6b5e94052adbe0d2077cd9c58675ac47ddd6f9 /program-json.php
parent3265e2c34059e7181ee792cc8a2c3418d5eb2687 (diff)
basic setup for dynamic program teasers on the startpage
Diffstat (limited to '')
-rw-r--r--program-json.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/program-json.php b/program-json.php
new file mode 100644
index 0000000..2b5e38b
--- /dev/null
+++ b/program-json.php
@@ -0,0 +1,6 @@
+<?php
+
+require_once('lib/bootstrap.php');
+
+header('Content-Type: application/json');
+echo json_encode(program());