Skip to content

Commit

Permalink
Fix travis error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xety committed Nov 3, 2016
1 parent 86f767f commit f971687
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions config/email.default.php
Expand Up @@ -33,15 +33,14 @@
*/
'EmailTransport' => [
'default' => [
'className' => isset($_ENV['EMAIL_CLASSNAME']) ? $_ENV['EMAIL_CLASSNAME'] : 'Mail',
'className' => getenv('EMAIL_CLASSNAME') ? getenv('EMAIL_CLASSNAME') : 'Mail',
// The following keys are used in SMTP transports
'host' => isset($_ENV['EMAIL_HOST']) ? $_ENV['EMAIL_HOST'] : '',
'port' => isset($_ENV['EMAIL_PORT']) ? $_ENV['EMAIL_PORT'] : 25,
'host' => getenv('EMAIL_HOST') ? getenv('EMAIL_HOST') : 'localhost',
'port' => getenv('EMAIL_PORT') ? getenv('EMAIL_PORT') : 25,
'timeout' => 30,
'username' => isset($_ENV['EMAIL_USERNAME']) ? $_ENV['EMAIL_USERNAME'] : '',
'password' => isset($_ENV['EMAIL_PASSWORD']) ? $_ENV['EMAIL_PASSWORD'] : '',
'client' => isset($_ENV['EMAIL_CLIENT']) ? $_ENV['EMAIL_CLIENT'] : 'xeta.io',
'tls' => null,
'username' => getenv('EMAIL_USERNAME') ? getenv('EMAIL_USERNAME') : 'user',
'password' => getenv('EMAIL_PASSWORD') ? getenv('EMAIL_PASSWORD') : 'secret',
'client' => getenv('EMAIL_CLIENT') ? getenv('EMAIL_CLIENT') : null,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null)
],
],
Expand Down

0 comments on commit f971687

Please sign in to comment.