]> git.mxchange.org Git - friendica.git/commitdiff
Hypolite is right (not always, but in this case)
authorMichael <heluecht@pirati.ca>
Sat, 25 Mar 2017 10:11:02 +0000 (10:11 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 25 Mar 2017 10:11:02 +0000 (10:11 +0000)
include/Probe.php

index d08460a56b85eee93e5e850af9e76242672a5377..c91b2cdf270aa594dc549dbd41d553e76e8dd75e 100644 (file)
@@ -62,8 +62,6 @@ class Probe {
                $ssl_url = "https://".$host."/.well-known/host-meta";
                $url = "http://".$host."/.well-known/host-meta";
 
-               $baseurl = "http://".$host;
-
                $xrd_timeout = Config::get('system','xrd_timeout', 20);
                $redirects = 0;
 
@@ -110,7 +108,7 @@ class Probe {
                                $xrd_data["lrdd"] = $attributes["template"];
                }
 
-               self::$baseurl = $baseurl;
+               self::$baseurl = "http://".$host;
 
                return $xrd_data;
        }