mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
Improved logging.
Added "[logs]write_on_timeout_only" settings
This commit is contained in:
parent
1250efa445
commit
23c299ac9e
7 changed files with 96 additions and 47 deletions
|
|
@ -51,12 +51,12 @@ class Inline extends \MailSo\Log\Driver
|
|||
*/
|
||||
protected function writeImplementation($mDesc)
|
||||
{
|
||||
if (is_array($mDesc))
|
||||
if (\is_array($mDesc))
|
||||
{
|
||||
if ($this->bHtmlEncodeSpecialChars)
|
||||
{
|
||||
$mDesc = array_map(function ($sItem) {
|
||||
$sItem = \htmlspecialchars($mDesc);
|
||||
$mDesc = \array_map(function ($sItem) {
|
||||
return \htmlspecialchars($sItem);
|
||||
}, $mDesc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue