Merge branch '976-Header-erróneo-en-index-php' into 'develop'

Show enterprise icon in login header when is not defined in config - #976

See merge request !588
This commit is contained in:
vgilc 2017-06-19 16:09:19 +02:00
commit 24a9370084
1 changed files with 3 additions and 2 deletions

View File

@ -71,12 +71,13 @@ if (!empty($config['login_background'])) {
echo '<div id="login_body" ' . $login_body_style . '>';
echo '<div id="header_login">';
echo '<div id="icon_custom_pandora">';
if (defined ('PANDORA_ENTERPRISE')) {
if (PANDORA_ENTERPRISE) {
if(isset ($config['custom_logo'])){
echo '<img src="enterprise/images/custom_logo/' . $config['custom_logo'] .'" alt="pandora_console">';
}
else{
echo '<img src="images/custom_logo/logo_login_consola.png" alt="pandora_console">';
echo '<img src="images/custom_logo/pandora_logo_head_4.png" alt="pandora_console">';
}
}
else{