2 use Friendica\Core\Config;
4 function manifest_content(App $a) {
6 $tpl = get_markup_template('manifest.tpl');
8 header('Content-type: application/manifest+json');
10 $touch_icon = Config::get('system', 'touch_icon', 'images/friendica-128.png');
11 if ($touch_icon == '') {
12 $touch_icon = 'images/friendica-128.png';
15 $o = replace_macros($tpl, array(
16 '$baseurl' => App::get_baseurl(),
17 '$touch_icon' => $touch_icon,
18 '$title' => Config::get('config', 'sitename', 'Friendica'),