[Rebranding] Get the correct header logo in the metaconsole

This commit is contained in:
fermin831 2018-05-22 15:26:11 +02:00
parent 2e8e3c27b6
commit 946e897db6
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}
?>