aboutsummaryrefslogtreecommitdiff
path: root/views/json
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-09 16:30:04 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-09 16:30:04 +0000
commit2726f7366c3179a51d3878fb4c29e440875d6f3d (patch)
tree5a06f117827977f52e42cbb9a33cea8f4007f05e /views/json
parente2a2e2b28bfc2b70ade8c6fb52363176af12804b (diff)
downloadelgg-2726f7366c3179a51d3878fb4c29e440875d6f3d.tar.gz
elgg-2726f7366c3179a51d3878fb4c29e440875d6f3d.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Being "strictly correct" by returning application/json for json content type. git-svn-id: https://code.elgg.org/elgg/trunk@639 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json')
-rw-r--r--views/json/pageshells/pageshell.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/json/pageshells/pageshell.php b/views/json/pageshells/pageshell.php
index 5c01e030b..15026a37d 100644
--- a/views/json/pageshells/pageshell.php
+++ b/views/json/pageshells/pageshell.php
@@ -11,5 +11,6 @@
*
*/
+ header("Content-Type: application/json");
echo $vars['body'];
?> \ No newline at end of file