Safari 5.1.7 for Windows recognized as IE 5
-
Problem as stated in topic.
I had to correct abc-core.php line 57:
if (preg_match('/MSIE/i',$user_agent) && !preg_match('/Opera/i',$user_agent) || preg_match('/Windows NT/i',$user_agent) && !preg_match('/Opera/i',$user_agent)) {<br />
to that, which eliminates Safari from recognizing as IE – added
!preg_match('/Safari/i',$user_agent)
:if (preg_match('/MSIE/i',$user_agent) && !preg_match('/Opera/i',$user_agent) || preg_match('/Windows NT/i',$user_agent) && !preg_match('/Opera/i',$user_agent) && !preg_match('/Safari/i',$user_agent)) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Safari 5.1.7 for Windows recognized as IE 5’ is closed to new replies.