]> git.mxchange.org Git - friendica.git/blobdiff - mod/opensearch.php
Fix missing $ in front of variable names
[friendica.git] / mod / opensearch.php
index b7c5ce2805b625c8d03c642bc2fc319a69f592f9..2057f0b5d60579155de31336d1990da404d5e3a9 100644 (file)
@@ -6,7 +6,7 @@ use Friendica\Core\System;
 
 function opensearch_content(App $a) {
 
-       $tpl = get_markup_template('opensearch.tpl');
+       $tpl = Renderer::getMarkupTemplate('opensearch.tpl');
 
        header("Content-type: application/opensearchdescription+xml");
 
@@ -17,5 +17,5 @@ function opensearch_content(App $a) {
 
        echo $o;
 
-       killme();
+       exit();
 }