From abf4097e6338ad10be11193d8f23c5fd3b352a64 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 19 Dec 2019 19:58:00 +0100 Subject: [PATCH] Minor fix - opensource welcome icon --- pandora_console/include/class/WelcomeWindow.class.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/class/WelcomeWindow.class.php b/pandora_console/include/class/WelcomeWindow.class.php index c69fbe40d9..5a01b24521 100644 --- a/pandora_console/include/class/WelcomeWindow.class.php +++ b/pandora_console/include/class/WelcomeWindow.class.php @@ -396,7 +396,15 @@ class WelcomeWindow extends Wizard $logo_url = ENTERPRISE_DIR.'/'; } - $logo_url .= 'images/custom_logo/'.$config['custom_logo_white_bg']; + if (empty($config['custom_logo_white_bg']) === false) { + $logo_url .= ui_get_full_url( + 'images/custom_logo/'.$config['custom_logo_white_bg'] + ); + } else { + $logo_url .= ui_get_full_url( + 'images/custom_logo/pandora_logo_head_white_bg.png' + ); + } $inputs = [ [