Shortcut icon isn't dysplayed when 'Admin' or 'Channel Manager' panels are opened
Created by: subrealist
Shortcut icon (rel="shortcut icon") isn't dysplayed when 'Admin' or 'Channel Manager' panels are opened
Step to reproduce
- Open 'Admin' panel for any item
Expected result
White sharp inside the red circle is displayed in tab by default
Actual result
Shortcut icon in tab is absent
Invistigation
Opened page contents following html code in the it's head tag:
<link rel="shortcut icon" href="http://my_domainDEFAULT_PLATFORM_ICON" />
The constant DEFAULT_PLATFORM_ICON is used in the file boot.php in line 939 before it is set and is interpreted as string constant as a result.
Fix
Change position for call self::head_set_icon(DEFAULT_PLATFORM_ICON); from the method init() of class App line 939 to function sys_boot() line 609 as App:head_set_icon(DEFAULT_PLATFORM_ICON);