diff --git a/library/framework/mail/sendMail.php b/library/framework/mail/sendMail.php index 9331c67c..15adfd33 100644 --- a/library/framework/mail/sendMail.php +++ b/library/framework/mail/sendMail.php @@ -82,7 +82,7 @@ This mail message and attachments (the \"message\") are solely intended for the sleep($nbEssais); else { $strTo=implode(';', $to); - file_put_contents( '/var/www/log/sendMailError.log', + file_put_contents( LOG_PATH.'/sendMailError.log', date('Y-m-d H:i:s')."\t#$nbEssais\t$strTo\t".$send->getMessage().EOL, FILE_APPEND); break;