X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanifest.php;h=bdb5298ef3a87e81361e7a9e9ee709e9387589a7;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=203f5ab829fc596a1a998243138aeb870e285d97;hpb=541d6ab8959fe3c069996e230def126c154da34d;p=friendica.git diff --git a/mod/manifest.php b/mod/manifest.php index 203f5ab829..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( + $o = Renderer::replaceMacros($tpl, [ '$baseurl' => System::baseUrl(), '$touch_icon' => $touch_icon, '$title' => Config::get('config', 'sitename', 'Friendica'), - )); + ]); echo $o; - killme(); + exit(); }