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 63bc969 commit cd1d9d5Copy full SHA for cd1d9d5
src/Core.php
@@ -142,10 +142,10 @@ protected static function loadConfig()
142
}
143
144
if (class_exists('Leaf\Log')) {
145
- $config['app'] = array_merge([
+ $config['app'] = array_merge($config['app'] ?? [], [
146
'log.open' => true,
147
'log.level' => Log::DEBUG,
148
- ], $config['app'] ?? []);
+ ]);
149
150
151
app()->config($config['app']);
0 commit comments