Merge pull request #13554 from owncloud/issue/13482

Set the debugoutput channel to error_log instead of echoing it
This commit is contained in:
Morris Jobke 2015-01-21 16:30:54 +01:00
commit 5864394d1a
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class OC_Mail {
$mailo->Port = $SMTPPORT; $mailo->Port = $SMTPPORT;
$mailo->SMTPAuth = $SMTPAUTH; $mailo->SMTPAuth = $SMTPAUTH;
$mailo->SMTPDebug = $SMTPDEBUG; $mailo->SMTPDebug = $SMTPDEBUG;
$mailo->Debugoutput = 'error_log';
$mailo->SMTPSecure = $SMTPSECURE; $mailo->SMTPSecure = $SMTPSECURE;
$mailo->AuthType = $SMTPAUTHTYPE; $mailo->AuthType = $SMTPAUTHTYPE;
$mailo->Username = $SMTPUSERNAME; $mailo->Username = $SMTPUSERNAME;