--- includes/theme.inc 2009-04-22 11:12:01.249555500 -0400 +++ includes/theme.inc 2009-04-22 11:23:54.725511000 -0400 @@ -1820,7 +1820,10 @@ // Add favicon. if (theme_get_setting('toggle_favicon')) { - drupal_add_html_head(''); + if (($icontype=file_get_mimetype(theme_get_settings('favicon'))) == 'application/octet-strem') { + $icontype = 'image/x-icon'; + } + drupal_add_html_head(''); } // Set up layout variable.