Skip to content

Commit

Permalink
Merge pull request #42 from dan-har/master
Browse files Browse the repository at this point in the history
Set http headers from laravel request
  • Loading branch information
jenssegers committed Nov 26, 2015
2 parents 7f763bc + 6c734c4 commit ffd9e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AgentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function register()
{
$this->app['agent'] = $this->app->share(function ($app)
{
return new Agent;
return new Agent($app['request']->server->all());
});
}

Expand Down

0 comments on commit ffd9e14

Please sign in to comment.