mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-14 22:15:52 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da1b6b7796 |
@@ -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;
|
||||||
@@ -43,4 +43,4 @@ class BitinflowAccountsServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
return [BitinflowAccounts::class];
|
return [BitinflowAccounts::class];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user