]> git.mxchange.org Git - friendica.git/blobdiff - mod/opensearch.php
Fixes:
[friendica.git] / mod / opensearch.php
index dc7adeb05c264eb98e627c5745bf64725d4b76e3..8a427908bc244277bfca2e10c7602102b5151bf4 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 
 function opensearch_content(App $a) {
 
@@ -8,10 +9,10 @@ function opensearch_content(App $a) {
 
        header("Content-type: application/opensearchdescription+xml");
 
-       $o = replace_macros($tpl, array(
-               '$baseurl' => App::get_baseurl(),
+       $o = replace_macros($tpl, [
+               '$baseurl' => System::baseUrl(),
                '$nodename' => $a->get_hostname(),
-       ));
+       ]);
 
        echo $o;