We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e23526 commit 2560e94Copy full SHA for 2560e94
1 file changed
system/Database/Config.php
@@ -87,7 +87,7 @@ public static function connect($group = null, bool $getShared = true)
87
$group = 'custom-' . md5(json_encode($config));
88
}
89
90
- $config = $config ?? new \Config\Database();
+ $config = $config ?? config('Database');
91
92
if (empty($group))
93
{
0 commit comments