#497948 follow-up by roychri, webernet, and matt2000: Fixed broken logo when using different colour scheme.

merge-requests/26/head
Angie Byron 2009-12-06 17:48:36 +00:00
parent f903314be6
commit add3fb9bb7
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ function _color_page_alter(&$vars) {
// Override logo.
$logo = variable_get('color_' . $theme_key . '_logo');
if ($logo && $vars['logo'] && preg_match('!' . $theme_key . '/logo.png$!', $vars['logo'])) {
$vars['logo'] = base_path() . $logo;
$vars['logo'] = file_create_url($logo);
}
}