1
0
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:
e107steved
2007-05-28 16:12:44 +00:00
parent 88d986d815
commit 56acd2ac65

View File

@@ -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;
}