Skip to content

#858: Fix: Shortcut icon isn't dysplayed when 'Admin' or 'Channel Manager' panel are opened

Mario requested to merge subrealist:short_icon_admin_fix into master

Created by: subrealist

Shortcut icon (rel="shortcut icon") isn't dysplayed when 'Admin' or 'Channel Manager' panels are opened

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);

Merge request reports

Loading