Project

General

Profile

Bug #22863 ยป rtehtmlarea_bugfix_14693_trunk.patch

Administrator Admin, 2010-06-10 20:12

View differences:

t3lib/utility/class.t3lib_utility_client.php (copie de travail)
'lynx', 'amaya', 'omniweb', 'avant', 'camino', 'flock', 'aol');
$matches = array();
$pattern = '#(?<browser>' . join('|', $known) . ')[/ ]+(?<version>[0-9]+(?:\.[0-9]+)?)#';
$pattern = '#(?P<browser>' . join('|', $known) . ')[/ ]+(?P<version>[0-9]+(?:\.[0-9]+)?)#';
// Find all phrases (or return empty array if none found)
if (!preg_match_all($pattern, strtolower($userAgent), $matches)) {
$browserInfo['browser'] = 'unknown';
    (1-1/1)