[Rebranding] Get the correct header logo in the metaconsole
This commit is contained in:
parent
2e8e3c27b6
commit
946e897db6
|
@ -3969,8 +3969,9 @@ function ui_get_custom_header_logo () {
|
|||
return 'images/pandora_tinylogo_open.png';
|
||||
}
|
||||
|
||||
if (empty($config['custom_logo'])) return 'images/pandora_tinylogo.png';
|
||||
return 'enterprise/images/custom_logo/' . $config['custom_logo'];
|
||||
$stored_logo = is_metaconsole() ? $config['meta_custom_logo'] : $config['custom_logo'];
|
||||
if (empty($stored_logo)) return 'images/pandora_tinylogo.png';
|
||||
return 'enterprise/images/custom_logo/' . $stored_logo;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue