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