Allow the hostmeta to indirect from one domain to another.
e.g.: rozzin@hackerposse.com => rozzin@status.hackerposse.com.
This commit is contained in:
parent
9844ec76e9
commit
90858804bc
|
@ -45,10 +45,8 @@ class HostMetaAction extends Action
|
|||
{
|
||||
parent::handle();
|
||||
|
||||
$domain = common_config('site', 'server');
|
||||
|
||||
$xrd = new XRD();
|
||||
$xrd->host = $domain;
|
||||
$xrd->host = strtolower($_SERVER['SERVER_NAME']);
|
||||
|
||||
if(Event::handle('StartHostMetaLinks', array(&$xrd->links))) {
|
||||
$url = common_local_url('userxrd');
|
||||
|
|
Loading…
Reference in New Issue
Block a user