diff options
Diffstat (limited to 'mod/opensearch.php')
-rw-r--r-- | mod/opensearch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/opensearch.php b/mod/opensearch.php index d28c4f1b8..19f7985c5 100644 --- a/mod/opensearch.php +++ b/mod/opensearch.php @@ -7,8 +7,8 @@ function opensearch_init(&$a) { header("Content-type: application/opensearchdescription+xml"); $o = replace_macros($tpl, array( - '$baseurl' => $a->get_baseurl(), - '$nodename' => $a->get_hostname(), + '$baseurl' => z_root(), + '$nodename' => App::get_hostname(), )); echo $o; |