aboutsummaryrefslogtreecommitdiff
path: root/views/xml/page/default.php
blob: 0f0aecbe4add2a4f8ee3cee41079e015d784cf99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * Elgg XML output pageshell
 *
 * @package Elgg
 * @subpackage Core
 *
 */

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'];