Explorar o código

set default download link to absolute_dl = true to force download instead of
viewing inline

stekkel %!s(int64=23) %!d(string=hai) anos
pai
achega
ad96d34bde
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/mime.php

+ 1 - 1
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);
         }