diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-22 09:58:48 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-22 09:58:48 +0000 |
| commit | 5f7ed0ff75d4f42e43a7eeff2d5845b2cfd22e7e (patch) | |
| tree | 5b8cffdf5e4465fb959b2cdf109877cc604afc82 /roundcubemail/program/include | |
| parent | 401a670019d7d22f833086c92f81eff97c119375 (diff) | |
Revert r1670 but improve part download step by fixing headers and adding set_time_limit(0)
git-svn-id: https://svn.roundcube.net/trunk@1673 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_browser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_browser.php b/roundcubemail/program/include/rcube_browser.php index af393d63e..0d4766417 100644 --- a/roundcubemail/program/include/rcube_browser.php +++ b/roundcubemail/program/include/rcube_browser.php @@ -38,11 +38,11 @@ class rcube_browser $this->linux = stristr($HTTP_USER_AGENT, 'linux'); $this->unix = stristr($HTTP_USER_AGENT, 'unix'); + $this->opera = stristr($HTTP_USER_AGENT, 'opera'); $this->ns4 = stristr($HTTP_USER_AGENT, 'mozilla/4') && !stristr($HTTP_USER_AGENT, 'msie'); $this->ns = ($this->ns4 || stristr($HTTP_USER_AGENT, 'netscape')); - $this->ie = stristr($HTTP_USER_AGENT, 'msie'); + $this->ie = stristr($HTTP_USER_AGENT, 'compatible; msie') && !$this->opera; $this->mz = stristr($HTTP_USER_AGENT, 'mozilla/5'); - $this->opera = stristr($HTTP_USER_AGENT, 'opera'); $this->safari = stristr($HTTP_USER_AGENT, 'safari'); if ($this->ns) { |
