diff options
Diffstat (limited to 'pages/program-json.php')
-rw-r--r-- | pages/program-json.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/program-json.php b/pages/program-json.php new file mode 100644 index 0000000..2b5e38b --- /dev/null +++ b/pages/program-json.php @@ -0,0 +1,6 @@ +<?php + +require_once('lib/bootstrap.php'); + +header('Content-Type: application/json'); +echo json_encode(program()); |