Commit add3fb9b authored by webchick's avatar webchick

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

#497948 follow-up by roychri, webernet, and matt2000: Fixed broken logo when using different colour scheme.
parent f903314b
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment