diff options
Diffstat (limited to 'views/xml/page')
-rw-r--r-- | views/xml/page/default.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/views/xml/page/default.php b/views/xml/page/default.php new file mode 100644 index 000000000..0f0aecbe4 --- /dev/null +++ b/views/xml/page/default.php @@ -0,0 +1,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'];
\ No newline at end of file |