diff options
author | thomascube <thomas@roundcube.net> | 2008-09-19 17:01:57 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-09-19 17:01:57 +0000 |
commit | a3f149eb5729ef1ba6d1c05b29fead1058f4c888 (patch) | |
tree | 746acb9824e42bb0148ce79e5afa28eb0ba3b1fc /program/include/rcube_browser.php | |
parent | 20a25197f3e2c51fb42db0832dc22d493334f20f (diff) |
Fix search box on Safari and make pages validate
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); |