diff options
author | James Walker <walkah@walkah.net> | 2010-03-03 23:20:04 -0500 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-03-03 23:20:30 -0500 |
commit | 1c8399fde123fa2bc7b4ebf21fb323d215a9e7b4 (patch) | |
tree | c48c7225d774a98cdc2b709e507601ae353998c3 /plugins/OStatus/OStatusPlugin.php | |
parent | 239750aa0001b0b1ea5076f6f71ed6ffbb433c31 (diff) |
refactor xrd to allow for ownerxrd - xrd document for the site owner.
introduced $config['webfinger']['owner'] for a custom xrd subject
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index cc7e75976..8baa857d8 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -44,7 +44,9 @@ class OStatusPlugin extends Plugin $m->connect('.well-known/host-meta', array('action' => 'hostmeta')); $m->connect('main/xrd', - array('action' => 'xrd')); + array('action' => 'userxrd')); + $m->connect('main/ownerxrd', + array('action' => 'ownerxrd')); $m->connect('main/ostatus', array('action' => 'ostatusinit')); $m->connect('main/ostatus?nickname=:nickname', |