set default download link to absolute_dl = true to force download instead of
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 17:48:08 +0000 (17:48 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 17:48:08 +0000 (17:48 +0000)
viewing inline

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3959 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 3b7936d..597c62f 100644 (file)
@@ -459,7 +459,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) {
         }
         $defaultlink = $default_page . "?startMessage=$startMessage"
                      . "&amp;passed_id=$id&amp;mailbox=$urlMailbox"
-                     . '&amp;ent_id='.$ent.$passed_ent_id_link;
+                     . '&amp;ent_id='.$ent.$passed_ent_id_link.'&amp;absolute_dl=true';
         if ($where && $what) {
            $defaultlink .= '&amp;where='. urlencode($where).'&amp;what='.urlencode($what);
         }