]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
[friendica.git] / boot.php
index d8abf06b04d736c9fbd0fb08bac51d0762686f14..d4398a11a6b8bfcf5067124875dbf6b0a92fa7bc 100644 (file)
--- 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();
 }}