We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef4e92 commit 8bcb962Copy full SHA for 8bcb962
src/Providers/TotemServiceProvider.php
@@ -50,6 +50,11 @@ public function register()
50
$this->app->register(TotemRouteServiceProvider::class);
51
$this->app->register(TotemEventServiceProvider::class);
52
53
+ $this->mergeConfigFrom(
54
+ __DIR__.'/../../config/totem.php',
55
+ 'totem'
56
+ );
57
+
58
try {
59
if (Schema::hasTable(config('totem.table_prefix').'tasks')) {
60
$this->app->register(ConsoleServiceProvider::class);
@@ -58,11 +63,6 @@ public function register()
63
// This will trigger if DB cannot be connected to
64
Log::error($ex->getMessage());
65
}
61
-
62
- $this->mergeConfigFrom(
- __DIR__.'/../../config/totem.php',
- 'totem'
- );
66
67
68
/**
0 commit comments