From 0ced2b9ac03e425750a76dea3ed59156b2709b4c Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 22 Aug 2008 09:58:48 +0000 Subject: Revert r1670 but improve part download step by fixing headers and adding set_time_limit(0) --- program/include/rcube_browser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/include/rcube_browser.php') 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) { -- cgit v1.2.3