streams/Zotlabs/Module/Rsd_xml.php

18 lines
345 B
PHP
Raw Normal View History

2016-04-19 03:38:38 +00:00
<?php
namespace Zotlabs\Module;
class Rsd_xml extends \Zotlabs\Web\Controller {
function init() {
2016-04-19 03:38:38 +00:00
header ("Content-Type: text/xml");
echo replace_macros(get_markup_template('rsd.tpl'),array(
'$project' => \Zotlabs\Lib\System::get_platform_name(),
'$baseurl' => z_root(),
'$apipath' => z_root() . '/api/'
));
killme();
2016-04-19 03:38:38 +00:00
}
2016-04-19 03:38:38 +00:00
}