Fix Directory Path

This commit is contained in:
René Preuß
2019-10-16 16:16:59 +02:00
committed by GitHub
parent a1ef9075e8
commit da1b6b7796

View File

@@ -17,7 +17,7 @@ class BitinflowAccountsServiceProvider extends ServiceProvider
public function boot() public function boot()
{ {
$this->publishes([ $this->publishes([
dirname(__DIR__) . '/../config/bitinflow-accounts-api.php' => config_path('bitinflow-accounts-api.php'), dirname(__DIR__) . '/../../../config/bitinflow-accounts-api.php' => config_path('bitinflow-accounts-api.php'),
], 'config'); ], 'config');
} }
@@ -28,7 +28,7 @@ class BitinflowAccountsServiceProvider extends ServiceProvider
public function register() public function register()
{ {
$this->mergeConfigFrom( $this->mergeConfigFrom(
dirname(__DIR__) . '/../config/bitinflow-accounts-api.php', 'bitinflow-accounts-api' dirname(__DIR__) . '/../../../config/bitinflow-accounts-api.php', 'bitinflow-accounts-api'
); );
$this->app->singleton(BitinflowAccounts::class, function () { $this->app->singleton(BitinflowAccounts::class, function () {
return new BitinflowAccounts; return new BitinflowAccounts;