mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-05 16:42:53 +01:00
Better practice in getBrowserInfo
This commit is contained in:
@@ -208,7 +208,7 @@ register_shutdown_function('dol_shutdown');
|
||||
// Detection browser
|
||||
if (isset($_SERVER["HTTP_USER_AGENT"]))
|
||||
{
|
||||
$tmp=getBrowserInfo();
|
||||
$tmp=getBrowserInfo($_SERVER["HTTP_USER_AGENT"]);
|
||||
$conf->browser->name=$tmp['browsername'];
|
||||
$conf->browser->os=$tmp['browseros'];
|
||||
$conf->browser->version=$tmp['browserversion'];
|
||||
|
||||
Reference in New Issue
Block a user