fix dirname depth

This commit is contained in:
envoyr committed 2022-05-14 18:26:08 +02:00
1 parent 377dc53037
commit e902a3a5b8
1 file changed
+2 -2
@@ -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;
});