summaryrefslogtreecommitdiff
path: root/program/include/rcube_browser.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-08-22 09:58:48 +0000
committerthomascube <thomas@roundcube.net>2008-08-22 09:58:48 +0000
commit0ced2b9ac03e425750a76dea3ed59156b2709b4c (patch)
tree6e32f4f6e6d9f7a563a86b338c71bcc9c61c37ea /program/include/rcube_browser.php
parentf74b283fd47429add5955577a9e06ae5b34803c1 (diff)
Revert r1670 but improve part download step by fixing headers and adding set_time_limit(0)
Diffstat (limited to 'program/include/rcube_browser.php')
-rw-r--r--program/include/rcube_browser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_browser.php b/program/include/rcube_browser.php
index af393d63e..0d4766417 100644
--- a/program/include/rcube_browser.php
+++ b/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) {