mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Part of bugtracker #3919 - use absolute paths for logo, so its still displayed if errors
This commit is contained in:
@@ -5,14 +5,14 @@ if (isset($file) && $file && is_readable($file))
|
||||
$logo = $file;
|
||||
$path = $file;
|
||||
}
|
||||
else if (is_readable(THEME."images/e_logo.png"))
|
||||
else if (is_readable(THEME_ABS."images/e_logo.png"))
|
||||
{
|
||||
$logo = THEME_ABS."images/e_logo.png";
|
||||
$path = THEME."images/e_logo.png";
|
||||
$path = THEME_ABS."images/e_logo.png";
|
||||
}
|
||||
else
|
||||
{
|
||||
$logo = e_IMAGE."logo.png";
|
||||
$logo = e_IMAGE_ABS."logo.png";
|
||||
$path = $logo;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user