aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Rsd_xml.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Rsd_xml.php')
-rw-r--r--Zotlabs/Module/Rsd_xml.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/Zotlabs/Module/Rsd_xml.php b/Zotlabs/Module/Rsd_xml.php
new file mode 100644
index 000000000..06af39ad1
--- /dev/null
+++ b/Zotlabs/Module/Rsd_xml.php
@@ -0,0 +1,17 @@
+<?php
+namespace Zotlabs\Module;
+
+class Rsd_xml extends \Zotlabs\Web\Controller {
+
+ function init() {
+ header ("Content-Type: text/xml");
+ echo replace_macros(get_markup_template('rsd.tpl'),array(
+ '$project' => \Zotlabs\Project\System::get_platform_name(),
+ '$baseurl' => z_root(),
+ '$apipath' => z_root() . '/api/'
+ ));
+ killme();
+ }
+
+}
+