From 586bc0640861f2c55183ab7592b97bcaa95e6ba8 Mon Sep 17 00:00:00 2001 From: sikofitt Date: Wed, 13 Jul 2016 14:56:16 -0700 Subject: [PATCH] Heroku testing --- app/providers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/providers.php b/app/providers.php index caae940..5185874 100644 --- a/app/providers.php +++ b/app/providers.php @@ -62,6 +62,7 @@ $app if(false === getenv('SPARKPOST_API_KEY')) { $app['swiftmailer.transport'] = new Swift_SendmailTransport(); + $app->log('We are local'); } else { $app['swiftmailer.options'] = [ 'host' => getenv('SPARKPOST_SMTP_HOST'), @@ -71,6 +72,7 @@ $app 'encryption' => 'tls', 'auth_mode' => 'plain', ]; + $app->log('We are on heroku.'); } $app->register(new RoutingServiceProvider())