mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c43389f79a
commit
884f44ce94
108 changed files with 407 additions and 437 deletions
|
@ -13,7 +13,7 @@ function nodeinfo_wellknown(&$a) {
|
|||
killme();
|
||||
}
|
||||
$nodeinfo = array("links" => array(array("rel" => "http://nodeinfo.diaspora.software/ns/schema/1.0",
|
||||
"href" => $a->get_baseurl()."/nodeinfo/1.0")));
|
||||
"href" => App::get_baseurl()."/nodeinfo/1.0")));
|
||||
|
||||
header('Content-type: application/json; charset=utf-8');
|
||||
echo json_encode($nodeinfo, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue