summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-12-11 23:19:48 +0000
committerthomascube <thomas@roundcube.net>2005-12-11 23:19:48 +0000
commit9fc381f4e8712fec0e7b67c0f4e7af0980261e16 (patch)
tree4f0a39c6e6efe74ec69fdae555f8823833f425d7 /program/steps
parent31b2cee231cf5a154c87cccc1228df7b3bb1bf84 (diff)
Check if log files are writeable
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index 8ec30b0a7..6a3b51123 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -283,7 +283,7 @@ if ($CONFIG['smtp_log'])
$mailto,
$msg_subject);
- if ($fp = fopen($CONFIG['log_dir'].'/sendmail', 'a'))
+ if ($fp = @fopen($CONFIG['log_dir'].'/sendmail', 'a'))
{
fwrite($fp, $log_entry);
fclose($fp);