Tweaks to site-health and osearch. Also removed a non-directory page.

This commit is contained in:
Beanow 2014-08-09 00:49:00 +02:00
commit b803aa30a0
5 changed files with 21 additions and 176 deletions

View file

@ -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();
}