Heroku testing

This commit is contained in:
R. Eric Wheeler 2016-07-13 14:56:16 -07:00
parent 75b6259fee
commit 586bc06408
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ $app
if(false === getenv('SPARKPOST_API_KEY')) { if(false === getenv('SPARKPOST_API_KEY')) {
$app['swiftmailer.transport'] = new Swift_SendmailTransport(); $app['swiftmailer.transport'] = new Swift_SendmailTransport();
$app->log('We are local');
} else { } else {
$app['swiftmailer.options'] = [ $app['swiftmailer.options'] = [
'host' => getenv('SPARKPOST_SMTP_HOST'), 'host' => getenv('SPARKPOST_SMTP_HOST'),
@ -71,6 +72,7 @@ $app
'encryption' => 'tls', 'encryption' => 'tls',
'auth_mode' => 'plain', 'auth_mode' => 'plain',
]; ];
$app->log('We are on heroku.');
} }
$app->register(new RoutingServiceProvider()) $app->register(new RoutingServiceProvider())