update xrd -> userxrd

This commit is contained in:
James Walker 2010-03-04 01:30:15 -05:00
parent 1c8399fde1
commit 849f5783c4
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ class OStatusPlugin extends Plugin
{ {
if ($action instanceof ShowstreamAction) { if ($action instanceof ShowstreamAction) {
$acct = 'acct:'. $action->profile->nickname .'@'. common_config('site', 'server'); $acct = 'acct:'. $action->profile->nickname .'@'. common_config('site', 'server');
$url = common_local_url('xrd'); $url = common_local_url('userxrd');
$url.= '?uri='. $acct; $url.= '?uri='. $acct;
header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="application/xrd+xml"'); header('Link: <'.$url.'>; rel="'. Discovery::LRDD_REL.'"; type="application/xrd+xml"');

View File

@ -32,7 +32,7 @@ class HostMetaAction extends Action
parent::handle(); parent::handle();
$domain = common_config('site', 'server'); $domain = common_config('site', 'server');
$url = common_local_url('xrd'); $url = common_local_url('userxrd');
$url.= '?uri={uri}'; $url.= '?uri={uri}';
$xrd = new XRD(); $xrd = new XRD();