Hm. Downloader should be fixed bitches

This commit is contained in:
Karl Cordes 2010-04-27 17:08:50 +10:00
parent 935d86ce55
commit 29c3a6051a

View file

@ -16,7 +16,7 @@ class EmailAttachmentsController extends AppController {
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
ob_clean();
flush();
readfile($file['EmailAttachment']['filename']);
readfile($file['EmailAttachment']['name']);
// echo $file['EmailAttachment']['filename']
exit();
}