From: pdontthink Date: Thu, 18 Dec 2008 07:08:07 +0000 (+0000) Subject: Fix broken file downloads X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d671df04e4c7b9667dfd43b2236b8ffcffb5f6d7;p=squirrelmail.git Fix broken file downloads git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13370 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/download.php b/src/download.php index 166ad0ff..896e86be 100644 --- a/src/download.php +++ b/src/download.php @@ -175,5 +175,5 @@ if (isset($absolute_dl) && $absolute_dl) { } /* be aware that any warning caused by download.php will corrupt the * attachment in case of ERROR reporting = E_ALL and the output is the screen */ -mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding, $force_crlf); +mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding, 'php://stdout', $force_crlf);