radfusion/config/browser-detect.php
2025-01-21 14:21:40 +06:00

22 lines
544 B
PHP

<?php
return [
'cache' => [
/**
* Interval in seconds, as how long a result should be cached.
*/
'interval' => 10080,
/**
* Cache prefix, the user agent string will be hashed and appended at the end.
*/
'prefix' => 'bd4_',
],
'security' => [
/**
* Byte length where the header is cut off, if some attacker sends a long header
* then the library will make a cut this byte point.
*/
'max-header-length' => 2048,
],
];