From: Friendika Date: Fri, 15 Apr 2011 02:43:00 +0000 (-0700) Subject: ensure host xrd is correct, even if installed in subpath X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b5ccb8e2055bf08d282ebb0cba2cac0d850fdc5a;p=friendica.git ensure host xrd is correct, even if installed in subpath --- diff --git a/boot.php b/boot.php index 0dd1d38234..1ef80e515d 100644 --- a/boot.php +++ b/boot.php @@ -290,7 +290,7 @@ class App { if($this->cmd === '.well-known/host-meta') { require_once('include/hostxrd.php'); - hostxrd($this->hostname); + hostxrd($this->get_baseurl()); // NOTREACHED } diff --git a/include/hostxrd.php b/include/hostxrd.php index 9161b265ca..987175c331 100644 --- a/include/hostxrd.php +++ b/include/hostxrd.php @@ -1,10 +1,10 @@ $domain - - - + + + + href="$domain/oexchange/xrd" />