Skip to content

Commit

Permalink
Fix config publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Laszlo committed Jan 18, 2016
1 parent 7b59425 commit 447fa85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wooxo/OvhSwiftLaravel/OvhSwiftLaravelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class OvhSwiftLaravelServiceProvider extends ServiceProvider {
public function boot()
{
$this->package('wooxo/ovh-swift-laravel');
$configPath = __DIR__ . '/../config/ovh-swift-laravel.php';
$configPath = __DIR__ . '/../../config/ovh-swift-laravel.php';
if (function_exists('config_path')) {
$publishPath = config_path('ovh-swift-laravel.php');
} else {
Expand All @@ -35,7 +35,7 @@ public function boot()
*/
public function register()
{
$configPath = __DIR__ . '/../config/ovh-swift-laravel.php';
$configPath = __DIR__ . '/../../config/ovh-swift-laravel.php';
$this->mergeConfigFrom($configPath, 'ovh-swift-laravel');
}

Expand Down

0 comments on commit 447fa85

Please sign in to comment.