From e4763b3e0b9cfb7c1c2f8a69ece2b659b5651a63 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 1 Nov 2015 22:08:27 -0500 Subject: [PATCH] Use output function to handle headers and json encoding --- api/canned/index.php | 6 +++--- api/core/output.php | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 api/core/output.php diff --git a/api/canned/index.php b/api/canned/index.php index b8fc9fb6..810dec85 100644 --- a/api/canned/index.php +++ b/api/canned/index.php @@ -1,8 +1,10 @@