aboutsummaryrefslogtreecommitdiff
path: root/views/json/page/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/page/default.php')
-rw-r--r--views/json/page/default.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/json/page/default.php b/views/json/page/default.php
new file mode 100644
index 000000000..2d0403e11
--- /dev/null
+++ b/views/json/page/default.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Elgg JSON output pageshell
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ */
+
+header("Content-Type: application/json");
+
+global $jsonexport;
+echo json_encode($jsonexport); \ No newline at end of file