From 9a54c678970d220a1eeafe2c690f94f1d6d91fbf Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 22 Sep 2009 07:50:32 +0000 Subject: - remove set_magic_quotes_runtime() call, use set_time_limit() with @ (#1486149) git-svn-id: https://svn.roundcube.net/trunk@2979 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/get.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index 40ce14e09..cb938c08b 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/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; -- cgit v1.2.3