]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/mail/get.inc
Imported Upstream version 0.3.1
[roundcube.git] / program / steps / mail / get.inc
index acec6c80a36349a2c03e9c3164f80d29e9d0e916..d20714a6cc80c6cff988b7d92140b4d27368ba53 100644 (file)
@@ -15,7 +15,7 @@
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
 
- $Id: get.inc 2912 2009-09-04 10:38:18Z thomasb $
+ $Id: get.inc 2979 2009-09-22 07:50:32Z alec $
 
 */
 
@@ -93,9 +93,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) {
     }
     else {
       // don't kill the connection if download takes more than 30 sec.
-      if (!ini_get('safe_mode')) {
-          set_time_limit(0);
-      }
+      @set_time_limit(0);
       
       $filename = $part->filename ? $part->filename : ($MESSAGE->subject ? $MESSAGE->subject : 'roundcube') . '.'.$ctype_secondary;