public static function isWechat() { return false === strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger'); }