Skip to content

Commit

Permalink
Merge pull request #20 from arrizalamin/lumen-support
Browse files Browse the repository at this point in the history
Lumen Support
  • Loading branch information
stevebauman committed Oct 12, 2015
2 parents 0dbcf72 + ec889a5 commit 39ebe91
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/LocationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ public function register()
{
$config = __DIR__.'/Config/config.php';

$this->mergeConfigFrom($config, 'location');
if (class_exists('Illuminate\Foundation\Application', false)) {
$this->publishes([
$config => config_path('location.php'),
], 'config');
}

$this->publishes([
$config => config_path('location.php'),
], 'config');
$this->mergeConfigFrom($config, 'location');
}

/**
Expand Down

2 comments on commit 39ebe91

@natsu90
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packagist is not updated with this commit. Kindly fix it. Thanks in advance.

@natsu90
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you've fixed it. Thanks!

Please sign in to comment.