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 6690dde commit cadc1a6Copy full SHA for cadc1a6
src/Bridges/DatabaseDI/DatabaseExtension.php
@@ -40,8 +40,11 @@ public function __construct($debugMode = FALSE)
40
public function loadConfiguration()
41
{
42
$configs = $this->getConfig();
43
- if (isset($configs['dsn'])) {
44
- $configs = ['default' => $configs];
+ foreach ($configs as $k => $v) {
+ if (is_scalar($v)) {
45
+ $configs = ['default' => $configs];
46
+ break;
47
+ }
48
}
49
50
$defaults = $this->databaseDefaults;
0 commit comments