aboutsummaryrefslogtreecommitdiff
path: root/views/json/page_shells/default.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 01:19:38 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-08 01:19:38 +0000
commitd7adaddab7189bc493d22d96fec424aedca09b11 (patch)
treeebfd5c994083bed934bbd23fa403cadf778849fa /views/json/page_shells/default.php
parente8380d051e50abec45b8ad3ed84ae57644b017d5 (diff)
downloadelgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.gz
elgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.bz2
reorganized the page views as discussed
git-svn-id: http://code.elgg.org/elgg/trunk@7559 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json/page_shells/default.php')
-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