Hm. Downloader should be fixed bitches
This commit is contained in:
parent
935d86ce55
commit
29c3a6051a
|
|
@ -16,7 +16,7 @@ class EmailAttachmentsController extends AppController {
|
||||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||||
ob_clean();
|
ob_clean();
|
||||||
flush();
|
flush();
|
||||||
readfile($file['EmailAttachment']['filename']);
|
readfile($file['EmailAttachment']['name']);
|
||||||
// echo $file['EmailAttachment']['filename']
|
// echo $file['EmailAttachment']['filename']
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue