From: stekkel Date: Wed, 23 Oct 2002 17:48:08 +0000 (+0000) Subject: set default download link to absolute_dl = true to force download instead of X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=ef0feae60d3194845d04545a0fa9676dfdda8f34;hp=b7f83b61539e8952b9b337f167870aa99eb772f8;ds=sidebyside set default download link to absolute_dl = true to force download instead of viewing inline git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3959 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 3b7936d5..597c62f7 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -459,7 +459,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) { } $defaultlink = $default_page . "?startMessage=$startMessage" . "&passed_id=$id&mailbox=$urlMailbox" - . '&ent_id='.$ent.$passed_ent_id_link; + . '&ent_id='.$ent.$passed_ent_id_link.'&absolute_dl=true'; if ($where && $what) { $defaultlink .= '&where='. urlencode($where).'&what='.urlencode($what); }