Skip to content

Commit 64c3edb

Browse files
authored
Merge pull request #2 from onamfc/troublshoot-installation
Fix config file path in service provider
2 parents bec20cf + aac4883 commit 64c3edb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Providers/DbArchiverServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DbArchiverServiceProvider extends ServiceProvider
1616
*/
1717
public function register(): void
1818
{
19-
$this->mergeConfigFrom(__DIR__ . '/../config/db-archiver.php', 'db-archiver');
19+
$this->mergeConfigFrom(__DIR__ . '/../../config/db-archiver.php', 'db-archiver');
2020

2121
$this->app->singleton(StorageManager::class, function ($app) {
2222
return new StorageManager($app['config']['db-archiver.storage']);
@@ -36,11 +36,11 @@ public function register(): void
3636
public function boot(): void
3737
{
3838
$this->publishes([
39-
__DIR__ . '/../config/db-archiver.php' => config_path('db-archiver.php'),
39+
__DIR__ . '/../../config/db-archiver.php' => config_path('db-archiver.php'),
4040
], 'db-archiver-config');
4141

4242
$this->publishes([
43-
__DIR__ . '/../database/migrations/' => database_path('migrations'),
43+
__DIR__ . '/../../database/migrations/' => database_path('migrations'),
4444
], 'db-archiver-migrations');
4545

4646
if ($this->app->runningInConsole()) {

0 commit comments

Comments
 (0)