aboutsummaryrefslogtreecommitdiff
path: root/views/json/pageshells/pageshell.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/pageshells/pageshell.php')
-rw-r--r--views/json/pageshells/pageshell.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/views/json/pageshells/pageshell.php b/views/json/pageshells/pageshell.php
index ca1f41a28..2d2526e38 100644
--- a/views/json/pageshells/pageshell.php
+++ b/views/json/pageshells/pageshell.php
@@ -8,14 +8,14 @@
* @link http://elgg.org/
*
*/
-
- if(stristr($_SERVER["HTTP_ACCEPT"],"application/json")) {
- header("Content-Type: application/json");
- } else {
- header("Content-Type: application/javascript");
+
+ if(stristr($_SERVER["HTTP_ACCEPT"],"application/json")) {
+ header("Content-Type: application/json");
+ } else {
+ header("Content-Type: application/javascript");
}
- // echo $vars['body'];
-
- global $jsonexport;
+ // echo $vars['body'];
+
+ global $jsonexport;
echo json_encode($jsonexport);
?> \ No newline at end of file