aboutsummaryrefslogtreecommitdiff
path: root/views/json/page_shells
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/page_shells')
-rw-r--r--views/json/page_shells/default.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/views/json/page_shells/default.php b/views/json/page_shells/default.php
deleted file mode 100644
index d1f86c8a7..000000000
--- a/views/json/page_shells/default.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/**
- * Elgg JSON output pageshell
- *
- * @package Elgg
- * @subpackage Core
- *
- */
-
-if(stristr($_SERVER["HTTP_ACCEPT"],"application/json")) {
- header("Content-Type: application/json");
-} else {
- header("Content-Type: application/javascript");
-}
-// echo $vars['body'];
-
-global $jsonexport;
-echo json_encode($jsonexport); \ No newline at end of file