We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 90858804 authored by Joshua Judson Rosen's avatar Joshua Judson Rosen Committed by mattl

Allow the hostmeta to indirect from one domain to another.

e.g.: rozzin@hackerposse.com => rozzin@status.hackerposse.com.
parent 9844ec76
......@@ -45,10 +45,8 @@ class HostMetaAction extends Action
$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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment