diff options
Diffstat (limited to 'program/include/rcube_browser.php')
-rw-r--r-- | program/include/rcube_browser.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/rcube_browser.php b/program/include/rcube_browser.php index 0d4766417..162844f32 100644 --- a/program/include/rcube_browser.php +++ b/program/include/rcube_browser.php @@ -43,7 +43,8 @@ class rcube_browser $this->ns = ($this->ns4 || stristr($HTTP_USER_AGENT, 'netscape')); $this->ie = stristr($HTTP_USER_AGENT, 'compatible; msie') && !$this->opera; $this->mz = stristr($HTTP_USER_AGENT, 'mozilla/5'); - $this->safari = stristr($HTTP_USER_AGENT, 'safari'); + $this->khtml = stristr($HTTP_USER_AGENT, 'khtml'); + $this->safari = ($this->khtml || stristr($HTTP_USER_AGENT, 'safari')); if ($this->ns) { $test = eregi("mozilla\/([0-9\.]+)", $HTTP_USER_AGENT, $regs); |