aboutsummaryrefslogtreecommitdiff
path: root/views/xml/page_shells/default.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-23 03:03:36 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-23 03:03:36 +0000
commitb1d84c209db23302a6380edbd65e00ade73d2db5 (patch)
tree611c38e0bb6c07937ad855a8ac84f3311e2513a9 /views/xml/page_shells/default.php
parent9bbb5d94bb2a5ee3bf7061826003b54c03697a20 (diff)
downloadelgg-b1d84c209db23302a6380edbd65e00ade73d2db5.tar.gz
elgg-b1d84c209db23302a6380edbd65e00ade73d2db5.tar.bz2
fixed page shells for xml, php, and foaf
git-svn-id: http://code.elgg.org/elgg/trunk@6139 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/xml/page_shells/default.php')
-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