hubzilla issue #858: Fix: Shortcut icon is not dysplayed when Admin or Channel Manager panels are opened

This commit is contained in:
Sergey Lukin 2017-09-14 07:19:56 +10:00
parent d77872de50
commit d5bd5cda97

View File

@ -606,6 +606,8 @@ function sys_boot() {
define( 'DEFAULT_NOTIFY_ICON', '/images/rm-32.png' ); define( 'DEFAULT_NOTIFY_ICON', '/images/rm-32.png' );
} }
App::head_set_icon(DEFAULT_PLATFORM_ICON);
/* /*
* Try to open the database; * Try to open the database;
*/ */
@ -936,8 +938,6 @@ class App {
self::$is_mobile = $mobile_detect->isMobile(); self::$is_mobile = $mobile_detect->isMobile();
self::$is_tablet = $mobile_detect->isTablet(); self::$is_tablet = $mobile_detect->isTablet();
self::head_set_icon(DEFAULT_PLATFORM_ICON);
/* /*
* register template engines * register template engines
*/ */
@ -2439,4 +2439,3 @@ function observer_prohibited($allow_account = false) {
return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false ); return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
} }