mirror of
https://github.com/friendica/friendica
synced 2024-11-14 06:22:54 +00:00
9774c95b80
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
19 lines
318 B
PHP
19 lines
318 B
PHP
<?php
|
|
|
|
use Friendica\App;
|
|
use Friendica\Core\Renderer;
|
|
|
|
function opensearch_content(App $a) {
|
|
|
|
$tpl = Renderer::getMarkupTemplate('opensearch.tpl');
|
|
|
|
header("Content-type: application/opensearchdescription+xml");
|
|
|
|
$o = Renderer::replaceMacros($tpl, [
|
|
'$nodename' => $a->getHostName(),
|
|
]);
|
|
|
|
echo $o;
|
|
|
|
exit();
|
|
}
|