• Resolved dbase66

    (@dbase66)


    HTTP_USER_AGENT unknown

    Solution:

    if ((!empty($_SERVER['HTTP_USER_AGENT'])) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9.') !==false)) {
        return $tag;
    } else {
        return str_replace(' src',' defer src', $tag);
    }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 8.2 Issue’ is closed to new replies.