From 0ced2b9ac03e425750a76dea3ed59156b2709b4c Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 22 Aug 2008 05:58:48 -0400 Subject: [PATCH] Revert r1670 but improve part download step by fixing headers and adding set_time_limit(0) --- program/include/rcube_browser.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_browser.php b/program/include/rcube_browser.php index af393d6..0d47664 100644 --- a/program/include/rcube_browser.php +++ b/program/include/rcube_browser.php @@ -38,11 +38,11 @@ $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) { -- Gitblit v1.9.1