From 36088f9e6c4aec49b905976ee8b55ed1bf945bb4 Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 28 Sep 2011 16:19:50 +0000 Subject: [PATCH] // Refacto AttachementController git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8857 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/front/AttachmentController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/front/AttachmentController.php b/controllers/front/AttachmentController.php index a4d789065..321e69237 100644 --- a/controllers/front/AttachmentController.php +++ b/controllers/front/AttachmentController.php @@ -1,6 +1,6 @@ context->language->id); if (!$a->id) Tools::redirect('index.php'); - + header('Content-Transfer-Encoding: binary'); header('Content-Type: '.$a->mime); header('Content-Length: '.filesize(_PS_DOWNLOAD_DIR_.$a->file));