[Rebranding] Fixed get header logo on metaconsole
This commit is contained in:
parent
aa1e7ff4d2
commit
1391f8cc11
|
@ -3966,8 +3966,8 @@ function ui_get_custom_header_logo ($white_bg = false) {
|
|||
}
|
||||
|
||||
$stored_logo = is_metaconsole()
|
||||
? $config['meta_custom_logo']
|
||||
: $white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo'];
|
||||
? ($white_bg ? $config['meta_custom_logo_white_bg'] : $config['meta_custom_logo'])
|
||||
: ($white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo']);
|
||||
if (empty($stored_logo)) return 'images/pandora_tinylogo.png';
|
||||
return 'enterprise/images/custom_logo/' . $stored_logo;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue