X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=d4398a11a6b8bfcf5067124875dbf6b0a92fa7bc;hb=5f2f64406407839d0a9d906e0ad165067d90d130;hp=0b6aed2e70128ed6675993ccdad9037f0c2fdc00;hpb=c6b28ee5edfee53aa5e9dc8d2576eb07b1accac4;p=friendica.git diff --git a/boot.php b/boot.php index 0b6aed2e70..d4398a11a6 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(); }} @@ -2060,7 +2063,7 @@ function aes_encrypt($val,$ky) if(! function_exists('linkify')) { function linkify($s) { - $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]*)/", ' $1', $s); + $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%\$\!\+]*)/", ' $1', $s); return($s); }}