From e902a3a5b8e59ac4d0d65601a011220b7525c5ce Mon Sep 17 00:00:00 2001 From: envoyr Date: Sat, 14 May 2022 18:26:08 +0200 Subject: [PATCH] fix dirname depth --- src/Accounts/Providers/BitinflowAccountsServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Accounts/Providers/BitinflowAccountsServiceProvider.php b/src/Accounts/Providers/BitinflowAccountsServiceProvider.php index f14f12e..c8fc70a 100644 --- a/src/Accounts/Providers/BitinflowAccountsServiceProvider.php +++ b/src/Accounts/Providers/BitinflowAccountsServiceProvider.php @@ -23,7 +23,7 @@ class BitinflowAccountsServiceProvider extends ServiceProvider public function boot() { $this->publishes([ - dirname(__DIR__, 4) . '/config/bitinflow-accounts.php' => config_path('bitinflow-accounts.php'), + dirname(__DIR__, 3) . '/config/bitinflow-accounts.php' => config_path('bitinflow-accounts.php'), ], 'config'); } @@ -34,7 +34,7 @@ class BitinflowAccountsServiceProvider extends ServiceProvider */ public function register() { - $this->mergeConfigFrom(dirname(__DIR__, 4) . '/config/bitinflow-accounts.php', 'bitinflow-accounts'); + $this->mergeConfigFrom(dirname(__DIR__, 3) . '/config/bitinflow-accounts.php', 'bitinflow-accounts'); $this->app->singleton(BitinflowAccounts::class, function () { return new BitinflowAccounts; });