X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2F_well_known.php;h=407fc756a931fef7cfe0a39adc79816def46b1b6;hb=b07dfbb03f06f72d8776da317361fa5bcad098e2;hp=fb8df4861f8f68cf75bb91dbbcb3be2207568e4b;hpb=bc21bf0ee665a978b027d15acc9ec85755d98b9d;p=friendica.git diff --git a/mod/_well_known.php b/mod/_well_known.php index fb8df4861f..407fc756a9 100644 --- a/mod/_well_known.php +++ b/mod/_well_known.php @@ -52,7 +52,7 @@ function wk_social_relay() $tags[$tag] = $tag; } - if (get_config('system', 'relay_user_tags')) { + if (Config::get('system', 'relay_user_tags')) { $terms = q("SELECT DISTINCT(`term`) FROM `search`"); foreach ($terms AS $term) { @@ -73,8 +73,8 @@ function wk_social_relay() 'subscribe' => $subscribe, 'scope' => $scope, 'tags' => $taglist, - 'protocols' => ['diaspora' => System::baseUrl() . '/receive/public', - 'dfrn' => System::baseUrl() . '/dfrn_notify'] + 'protocols' => ['diaspora' => ['receive' => System::baseUrl() . '/receive/public'], + 'dfrn' => ['receive' => System::baseUrl() . '/dfrn_notify']] ]; header('Content-type: application/json; charset=utf-8');