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;