X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnoscrape.php;h=4b2ce73a39e89849d562a8e6c89c143bd412a345;hb=d0dfcc71a82ac423db68a12fd2eaf6d13cb18e1f;hp=814dc885cd5498f20a071dab391ea5cd7d9349e4;hpb=06815f1a38409e45b0c5e5184c081f964ec89e47;p=friendica.git diff --git a/mod/noscrape.php b/mod/noscrape.php index 814dc885cd..4b2ce73a39 100644 --- a/mod/noscrape.php +++ b/mod/noscrape.php @@ -1,6 +1,7 @@ $a->profile['addr'], 'nick' => $which, 'key' => $a->profile['pubkey'], - 'homepage' => App::get_baseurl()."/profile/{$which}", + 'homepage' => System::baseUrl()."/profile/{$which}", 'comm' => (x($a->profile,'page-flags')) && ($a->profile['page-flags'] == PAGE_COMMUNITY), 'photo' => $r[0]["photo"], 'tags' => $keywords @@ -71,7 +72,7 @@ function noscrape_init(App $a) { $dfrn_pages = array('request', 'confirm', 'notify', 'poll'); foreach ($dfrn_pages as $dfrn) { - $json_info["dfrn-{$dfrn}"] = App::get_baseurl()."/dfrn_{$dfrn}/{$which}"; + $json_info["dfrn-{$dfrn}"] = System::baseUrl()."/dfrn_{$dfrn}/{$which}"; } //Output all the JSON!