// Is the file there?
if (isFileReadable(getPath() . 'favicon.' . $extension)) {
// Then use this and abort
- $out = '<link rel="shortcut icon" href="{%url=favicon.ico%}" type="image/' . $extension . '" />';
+ $out = '<link rel="shortcut icon" href="{%url=favicon.' . $extension . '%}" type="image/' . $extension . '" />';
break;
} // END - if
} // END - while