Add debug statement to see whats going on with file attachments
This commit is contained in:
parent
255e9fbe6b
commit
0dc8beb41e
|
|
@ -15,7 +15,7 @@ class EmailAttachmentsController extends AppController {
|
||||||
if(file_exists($file_path."/".$file['EmailAttachment']['name'])) {
|
if(file_exists($file_path."/".$file['EmailAttachment']['name'])) {
|
||||||
|
|
||||||
|
|
||||||
|
print_r($file);
|
||||||
Configure::write('debug', 0);
|
Configure::write('debug', 0);
|
||||||
|
|
||||||
if(!$file['EmailAttachment']['filename']) {
|
if(!$file['EmailAttachment']['filename']) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue