mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
[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()
|
$stored_logo = is_metaconsole()
|
||||||
? $config['meta_custom_logo']
|
? ($white_bg ? $config['meta_custom_logo_white_bg'] : $config['meta_custom_logo'])
|
||||||
: $white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo'];
|
: ($white_bg ? $config['custom_logo_white_bg'] : $config['custom_logo']);
|
||||||
if (empty($stored_logo)) return 'images/pandora_tinylogo.png';
|
if (empty($stored_logo)) return 'images/pandora_tinylogo.png';
|
||||||
return 'enterprise/images/custom_logo/' . $stored_logo;
|
return 'enterprise/images/custom_logo/' . $stored_logo;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user