Skip to content

Commit

Permalink
Use Laravel's app_path helper to set projectRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
loopj committed Jul 9, 2014
1 parent d43674b commit 8d035a5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function register()
$config = $app['config']['bugsnag'] ?: $app['config']['bugsnag::config'];

$client = new \Bugsnag_Client($config['api_key']);
$client->setProjectRoot(app_path());
$client->setAutoNotify(false);
$client->setBatchSending(false);
$client->setReleaseStage($app->environment());
Expand Down

0 comments on commit 8d035a5

Please sign in to comment.