X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/8d0d50765bc4cd7b98fc28dbccbf4284d034d466..6c49ea194c030a04ce8b303aae2a51dce01c7382:/f.php?ds=inline

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'])