aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-02 12:52:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-02 12:52:24 +0000
commit1c5466186dc8012c848fa5c7fe40e55325db8038 (patch)
tree9654af2f63b40d64ac22bad14d9bc838a4e5b02a
parentc9c73cec5c1f4ba333d44f7751eeb7e7e606bbe8 (diff)
downloadelgg-1c5466186dc8012c848fa5c7fe40e55325db8038.tar.gz
elgg-1c5466186dc8012c848fa5c7fe40e55325db8038.tar.bz2
setting xml version and encoding in xml pageshell
git-svn-id: http://code.elgg.org/elgg/trunk@3611 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/xml/pageshells/pageshell.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/xml/pageshells/pageshell.php b/views/xml/pageshells/pageshell.php
index 6e89e389a..8dc8f311c 100644
--- a/views/xml/pageshells/pageshell.php
+++ b/views/xml/pageshells/pageshell.php
@@ -11,4 +11,5 @@
header("Content-Type: text/xml");
header("Content-Length: " . strlen($vars['body']));
+echo "<?xml version='1.0' encoding='UTF-8'?>\n";
echo $vars['body']; \ No newline at end of file