X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanifest.php;h=bdb5298ef3a87e81361e7a9e9ee709e9387589a7;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=6dc0d10a21f5d3340862f54e0fd33615be65b83e;hpb=f99bb958f61f17e81452f3f9c4d3472c3de8b37b;p=friendica.git diff --git a/mod/manifest.php b/mod/manifest.php index 6dc0d10a21..bdb5298ef3 100644 --- a/mod/manifest.php +++ b/mod/manifest.php @@ -1,26 +1,28 @@ App::get_baseurl(), - '$touch_icon' => $touch_icon, - '$title' => Config::get('config', 'sitename', 'Friendica'), - )); + $touch_icon = Config::get('system', 'touch_icon', 'images/friendica-128.png'); + if ($touch_icon == '') { + $touch_icon = 'images/friendica-128.png'; + } - echo $o; + $o = Renderer::replaceMacros($tpl, [ + '$baseurl' => System::baseUrl(), + '$touch_icon' => $touch_icon, + '$title' => Config::get('config', 'sitename', 'Friendica'), + ]); - killme(); + echo $o; - } -?> + exit(); +}