aboutsummaryrefslogtreecommitdiff
path: root/views/xml/pageshells/pageshell.php
blob: 8dc8f311c5ac3831ed1b030e395516de0e35ced3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Elgg XML output pageshell
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 *
 */

header("Content-Type: text/xml");
header("Content-Length: " . strlen($vars['body']));
echo "<?xml version='1.0' encoding='UTF-8'?>\n";
echo $vars['body'];