Fix missing favicon on IE7

I just fix a missing favicon problem in IE7 for my work few day ago, i would like to share how i fixed it after trying a few different solution. so the original code...