diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-21 14:31:24 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-21 15:32:31 +0100 |
commit | d4657aa5929965db7cc400ffdf2f0136d5b413f0 (patch) | |
tree | 17bca4ce9f7143f4251065dce2b7b88b2678a06c /lib | |
parent | ff5715779c56ceacc870307bf25f4e769ff22a1a (diff) | |
download | nextcloud-server-d4657aa5929965db7cc400ffdf2f0136d5b413f0.tar.gz nextcloud-server-d4657aa5929965db7cc400ffdf2f0136d5b413f0.zip |
Set the debugoutput channel to error_log instead of echoing it
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/mail.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/mail.php b/lib/private/mail.php index 691ae1dd33f..8ba7343e011 100644 --- a/lib/private/mail.php +++ b/lib/private/mail.php @@ -61,6 +61,7 @@ class OC_Mail { $mailo->Port = $SMTPPORT; $mailo->SMTPAuth = $SMTPAUTH; $mailo->SMTPDebug = $SMTPDEBUG; + $mailo->Debugoutput = 'error_log'; $mailo->SMTPSecure = $SMTPSECURE; $mailo->AuthType = $SMTPAUTHTYPE; $mailo->Username = $SMTPUSERNAME; |