aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index d8abf06b0..d4398a11a 100644
--- a/boot.php
+++ b/boot.php
@@ -267,9 +267,11 @@ class App {
* Just spit out the contents and exit.
*/
- if($this->cmd === '.well-known/host-meta')
+ if($this->cmd === '.well-known/host-meta') {
require_once('include/hostxrd.php');
-
+ hostxrd($this->hostname);
+ // NOTREACHED
+ }
/**
* See if there is any page number information, and initialise
@@ -410,6 +412,7 @@ function x($s,$k = NULL) {
if(! function_exists('system_unavailable')) {
function system_unavailable() {
include('system_unavailable.php');
+ system_down();
killme();
}}