aboutsummaryrefslogtreecommitdiff
path: root/views/xml/pageshells/pageshell.php
blob: ed7cb13f3d0fc76ebc4abbe60a908d3200e14278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'];