# HG changeset patch # User Charlie Root # Date 1520960357 14400 # Node ID 7498e7cacd71a8cac9779a6f30fc41438aeae8f5 # Parent ea061c74398244c5675c450eafd6ed2f010459a4 better error message diff -r ea061c743982 -r 7498e7cacd71 plugins/filesystem_attachments/filesystem_attachments.php --- a/plugins/filesystem_attachments/filesystem_attachments.php Sun Jan 28 13:44:10 2018 -0500 +++ b/plugins/filesystem_attachments/filesystem_attachments.php Tue Mar 13 12:59:17 2018 -0400 @@ -214,8 +214,8 @@ 'code' => 403, 'file' => __FILE__, 'line' => __LINE__, - 'message' => sprintf("%s can't read %s (not in temp_dir)", - $rcmail->get_user_name(), substr($path, 0, 512)) + 'message' => sprintf("%s can't read %s (not in temp_dir: %s)", + $rcmail->get_user_name(), substr($path, 0, 512), $temp_dir) ), true, false); return false;