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 committed by Mario Vavti
parent 55aaabc2f1
commit f43f38c054

View File

@ -615,6 +615,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;
*/ */
@ -945,8 +947,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
*/ */
@ -2448,4 +2448,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 );
} }