Skip to content

Update mobile detection #11

Description

@hammerlabs

I had to change the $device_type = "mobile" detection to use this regexp:

if (preg_match('/iPhone|iPod|BlackBerry|IEMobile|Opera Mini|mobile/i', $u_agent)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions