diff --git a/boot.php b/boot.php index ee5943d61b..8b5cda68ab 100644 --- a/boot.php +++ b/boot.php @@ -693,6 +693,14 @@ if(! class_exists('App')) { else $stylesheet = '$stylesheet'; + $shortcut_icon = get_config("system", "shortcut_icon"); + if ($shortcut_icon == "") + $shortcut_icon = $this->get_baseurl()."/images/friendica-32.png"; + + $touch_icon = get_config("system", "touch_icon"); + if ($touch_icon == "") + $touch_icon = $this->get_baseurl()."/images/friendica-128.png"; + $tpl = get_markup_template('head.tpl'); $this->page['htmlhead'] = replace_macros($tpl,array( '$baseurl' => $this->get_baseurl(), // FIXME for z_path!!!! @@ -703,6 +711,8 @@ if(! class_exists('App')) { '$showmore' => t('show more'), '$showfewer' => t('show fewer'), '$update_interval' => $interval, + '$shortcut_icon' => $shortcut_icon, + '$touch_icon' => $touch_icon, '$stylesheet' => $stylesheet )) . $this->page['htmlhead']; } diff --git a/view/templates/head.tpl b/view/templates/head.tpl index f1f6b55052..d60d2603c1 100644 --- a/view/templates/head.tpl +++ b/view/templates/head.tpl @@ -13,9 +13,13 @@ + + + +