Skip to content

Commit

Permalink
Update ErrorLogger.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thorewi authored Jul 15, 2020
1 parent 772173b commit 572e176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ErrorLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function defaultMailer($message, string $email, $attachment = NULL): void
if ($attachment === NULL) {
parent::defaultMailer($message, $email);
return;
};
}

$host = preg_replace('#[^\w.-]+#', '', isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : php_uname('n'));

Expand Down

0 comments on commit 572e176

Please sign in to comment.