CHttpUserAgent.php (https://github.com/serbanghita/Mobile-Detect/blob/master/Mobile_Detect.php)