From bb04015149f35d7ef5ef1e98e53a1659679d83d7 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 21 Jul 2010 08:15:21 -0700 Subject: [PATCH] Partial fix for #1225. Create a json reply helper that sets the content type to application/json and then json encodes the reply. --- modules/gallery/helpers/json.php | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/gallery/helpers/json.php diff --git a/modules/gallery/helpers/json.php b/modules/gallery/helpers/json.php new file mode 100644 index 0000000000..5fcdc268d6 --- /dev/null +++ b/modules/gallery/helpers/json.php @@ -0,0 +1,34 @@ +