This commit is contained in:
Daniel Schmitz
2021-06-23 10:58:52 +08:00
parent c4fa8feb8c
commit c69ef20b17
7 changed files with 10 additions and 6 deletions

View File

@@ -380,11 +380,14 @@ if (! array_key_exists('variants', $_themeoptions) || ! array_key_exists($themev
// check for custom header-graphic
$hl_path = 'templates/' . $theme . '/assets/img';
$header_logo = $hl_path . '/logo.png';
$header_logo = $header_logo_login = $hl_path . '/logo.png';
if (file_exists($hl_path . '/logo_custom.png')) {
$header_logo = $hl_path . '/logo_custom.png';
}
if (file_exists($hl_path . '/logo_custom_login.png')) {
$header_logo_login = $hl_path . '/logo_custom_login.png';
}
/**
* Redirects to index.php (login page) if no session exists