fixed error images open in header and login

This commit is contained in:
daniel 2016-11-03 11:31:31 +01:00
parent 709051d281
commit e34517fb70
2 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ config_check();
if (!defined ('PANDORA_ENTERPRISE')) {
$logo_title = 'Pandora FMS Opensource';
$custom_logo = 'images/custom_logo/pandora_logo_head_3.png';
}
else {
if (file_exists(ENTERPRISE_DIR . '/' . $custom_logo)) {

View File

@ -105,13 +105,13 @@ echo '<div id="login_in">';
}
}
else {
if (!isset ($config["custom_logo_login"])){
if (!isset ($config["custom_logo_login"]) || $config["custom_logo_login"] == 0){
html_print_image ("images/custom_logo_login/login_logo.png", false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
}
else{
html_print_image ("images/custom_logo_login/".$config['custom_logo_login'], false, array ("class" => "login_logo", "alt" => "logo", "border" => 0, "title" => $logo_title), false, true);
}
echo "<br><span style='font-size:120%;color:white;top:10px;position:relative;'>Community edition</span>";
echo "<br><span style='font-size:120%;color:white;top:10px;position:relative;'>Community edition</span>";
}
echo '</a>';