| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Added back implicit _SERVER scanning for setting the User-Agent string. source code.tar.gz | 2023-10-15 | 54.5 kB | |
| Added back implicit _SERVER scanning for setting the User-Agent string. source code.zip | 2023-10-15 | 58.6 kB | |
| README.md | 2023-10-15 | 555 Bytes | |
| Totals: 3 Items | 113.6 kB | 0 | |
- added optional
$configto MobileDetect constructor. - added
autoInitOfHttpHeadersconfiguration which is by defaulttrue. This enabled the old behavior from3.xand2.xthat allows automatic detection of HTTP headers and User Agent from $_SERVER. - refactored internal CloudFront related methods and the way
setHttpHeaderswork. It no longer falls back on$_SERVER. The method still callssetUserAgentin caseHTTP_USER_AGENTand friends are present. - added
maximumUserAgentLengthto the$config, by default the limit is500.