From 0dc8beb41edad43eecfafb307d0508c540df65ed Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Thu, 4 Jul 2019 16:13:26 +1000 Subject: [PATCH] Add debug statement to see whats going on with file attachments --- app/controllers/email_attachments_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/email_attachments_controller.php b/app/controllers/email_attachments_controller.php index 141af1a1..31f1f5a2 100755 --- a/app/controllers/email_attachments_controller.php +++ b/app/controllers/email_attachments_controller.php @@ -15,7 +15,7 @@ class EmailAttachmentsController extends AppController { if(file_exists($file_path."/".$file['EmailAttachment']['name'])) { - + print_r($file); Configure::write('debug', 0); if(!$file['EmailAttachment']['filename']) {