update xrd -> userxrd
This commit is contained in:
parent
1c8399fde1
commit
849f5783c4
@ -113,7 +113,7 @@ class OStatusPlugin extends Plugin
|
||||
{
|
||||
if ($action instanceof ShowstreamAction) {
|
||||
$acct = 'acct:'. $action->profile->nickname .'@'. common_config('site', 'server');
|
||||
$url = common_local_url('xrd');
|
||||
$url = common_local_url('userxrd');
|
||||
$url.= '?uri='. $acct;
|
||||
|
||||
header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="application/xrd+xml"');
|
||||
|
@ -32,7 +32,7 @@ class HostMetaAction extends Action
|
||||
parent::handle();
|
||||
|
||||
$domain = common_config('site', 'server');
|
||||
$url = common_local_url('xrd');
|
||||
$url = common_local_url('userxrd');
|
||||
$url.= '?uri={uri}';
|
||||
|
||||
$xrd = new XRD();
|
||||
|
Loading…
Reference in New Issue
Block a user