forked from GNUsocial/gnu-social
update xrd -> userxrd
This commit is contained in:
parent
1c8399fde1
commit
849f5783c4
@ -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"');
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user