X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanifest.php;h=bdb5298ef3a87e81361e7a9e9ee709e9387589a7;hb=73835118550f4bf9c0df510283c905f89224d612;hp=90fd7174132b79bbbdffe41f405367cbdd38d583;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git diff --git a/mod/manifest.php b/mod/manifest.php index 90fd717413..bdb5298ef3 100644 --- a/mod/manifest.php +++ b/mod/manifest.php @@ -3,10 +3,11 @@ use Friendica\App; use Friendica\Core\System; use Friendica\Core\Config; +use Friendica\Core\Renderer; function manifest_content(App $a) { - $tpl = get_markup_template('manifest.tpl'); + $tpl = Renderer::getMarkupTemplate('manifest.tpl'); header('Content-type: application/manifest+json'); @@ -15,13 +16,13 @@ function manifest_content(App $a) { $touch_icon = 'images/friendica-128.png'; } - $o = replace_macros($tpl, array( - '$baseurl' => App::get_baseurl(), + $o = Renderer::replaceMacros($tpl, [ + '$baseurl' => System::baseUrl(), '$touch_icon' => $touch_icon, '$title' => Config::get('config', 'sitename', 'Friendica'), - )); + ]); echo $o; - killme(); + exit(); }