aboutsummaryrefslogtreecommitdiff
path: root/views/xml/page_shells
diff options
context:
space:
mode:
Diffstat (limited to 'views/xml/page_shells')
-rw-r--r--views/xml/page_shells/default.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/xml/page_shells/default.php b/views/xml/page_shells/default.php
new file mode 100644
index 000000000..ed7cb13f3
--- /dev/null
+++ b/views/xml/page_shells/default.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Elgg XML output pageshell
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
+
+header("Content-Type: text/xml");
+// web server will handle setting the content length
+//header("Content-Length: " . strlen($vars['body']));
+echo "<?xml version='1.0' encoding='UTF-8'?>\n";
+echo $vars['body']; \ No newline at end of file