X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/794c20eff72e03a6af2fbdebb091560ed8b6f296..4013663192eb94fd4519e22d0e6dc1fb61b15957:/f.php diff --git a/f.php b/f.php index 6f8f836..7faf028 100644 --- a/f.php +++ b/f.php @@ -222,8 +222,7 @@ header ('Content-Length: ' . $link['file_size']); if (!jirafeau_is_viewable ($link['mime_type']) || !$cfg['preview'] || $button_download) header ('Content-Disposition: attachment; filename="' . $link['file_name'] . '"'); -else - header ('Content-Type: ' . $link['mime_type']); +header ('Content-Type: ' . $link['mime_type']); /* Read encrypted file. */ if ($link['crypted'])