X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fmanifest.php;h=bdb5298ef3a87e81361e7a9e9ee709e9387589a7;hb=73835118550f4bf9c0df510283c905f89224d612;hp=6dc0d10a21f5d3340862f54e0fd33615be65b83e;hpb=b8fd48dddc406eeb93ad9bf861a0d43de6546b21;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(); +}