mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 03:50:13 +01:00
fix incompatibility of expectations in VersionCheck for FF/Gecko Engine; we assume that overall FF-Compatibility is not affected by FF>=Version 17
This commit is contained in:
parent
df4ef45375
commit
fa1886d3ac
@ -55,7 +55,7 @@ function FCKeditor_IsCompatibleBrowser()
|
|||||||
else if ( strpos($sAgent, 'Gecko/') !== false )
|
else if ( strpos($sAgent, 'Gecko/') !== false )
|
||||||
{
|
{
|
||||||
$iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;
|
$iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;
|
||||||
return ($iVersion >= 20030210) ;
|
return ($iVersion >= 20030210 || (stripos($sAgent,'firefox/') !== false && $iVersion>=17)) ;
|
||||||
}
|
}
|
||||||
else if ( strpos($sAgent, 'Opera/') !== false )
|
else if ( strpos($sAgent, 'Opera/') !== false )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user