When my website is local (using the file:// protocol), the favicon doesn\'t show up in Chrome or Safari, but it works in Firefox (all on a
file://
Once I've solved it using two lines of code
and also keep the favicon.ico named exatly this and in the webroot folder, if it helps.