summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-22 07:50:32 +0000
committeralecpl <alec@alec.pl>2009-09-22 07:50:32 +0000
commit6d479a622bfb779e07e7ac7bd12154ec951982e5 (patch)
tree2ea133e11a872fb7ead328589bd7e548fb208123 /program/steps
parentbc1296f729365561975893f218bdf01319f67552 (diff)
- remove set_magic_quotes_runtime() call, use set_time_limit() with @ (#1486149)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/get.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 40ce14e09..cb938c08b 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -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;