diff --git a/.gitignore b/.gitignore index b93cff27..c86bb192 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ /vendor /composer.phar -/runtime/builds -/runtime/daemon +/runtime /app/loggerconfig.php /app/pluginconfig.php /app/config.yml diff --git a/src/PHPCensor/Helper/MailerFactory.php b/src/PHPCensor/Helper/MailerFactory.php index ad0fc2b8..efdca123 100644 --- a/src/PHPCensor/Helper/MailerFactory.php +++ b/src/PHPCensor/Helper/MailerFactory.php @@ -58,7 +58,7 @@ class MailerFactory $transport->setUsername($this->getMailConfig('smtp_username')); $transport->setPassword($this->getMailConfig('smtp_password')); } else { - $transport = \Swift_MailTransport::newInstance(); + $transport = \Swift_MailTransport::newInstance(null); } return \Swift_Mailer::newInstance($transport);