Tweaks to site-health and osearch. Also removed a non-directory page.
This commit is contained in:
parent
1fe9bb9b5b
commit
b803aa30a0
5 changed files with 21 additions and 176 deletions
|
@ -2,9 +2,11 @@
|
|||
|
||||
function opensearch_init(&$a) {
|
||||
|
||||
$r = file_get_contents('view/osearch.tpl');
|
||||
$tpl = file_get_contents('view/osearch.tpl');
|
||||
header("Content-type: application/opensearchdescription+xml");
|
||||
|
||||
echo $r;
|
||||
echo replace_macros($tpl, array(
|
||||
'$base' => $a->get_baseurl()
|
||||
));
|
||||
killme();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue