Skip to content

Commit

Permalink
Use getenv instead of Laravel\'s env
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed May 30, 2015
1 parent d2142e1 commit 3836377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RavenServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function register()
{
$config = $app['config']->get('services.raven', []);

$dsn = env('RAVEN_DSN') ?: $app['config']->get('services.raven.dsn');
$dsn = getenv('RAVEN_DSN') ?: $app['config']->get('services.raven.dsn');

if ( ! $dsn)
{
Expand Down

0 comments on commit 3836377

Please sign in to comment.