Website: master 0cfcb70f

Author Committer Branch Timestamp Parent
dregad dregad master 2021-05-25 03:34 master 5591698c
Changeset

Use Browser Detection library

Composer require foroco/php-browser-detection

Replace getBrowser() function with the BrowserDetection object provided
by the library.

Fix PHP NOTICE that gets triggered when HTTP_USER_AGENT is not set (use
coalesce operator).

Generate the redirection header in browser_check.php instead of top.php.

Fixes #28631

mod - browser_check.php Diff File
mod - composer.json Diff File
mod - composer.lock Diff File
mod - top.php Diff File