Fix db config use
This commit is contained in:
parent
33ddfeebbb
commit
2516cfce14
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ class Application {
|
|||
$connectionParams = array(
|
||||
'pdo' => new \PDO(
|
||||
$config['db']['dsn'],
|
||||
isSet($config['username']) ? $config['username'] : null,
|
||||
isSet($config['password']) ? $config['password'] : null
|
||||
isSet($config['db']['username']) ? $config['db']['username'] : null,
|
||||
isSet($config['db']['password']) ? $config['db']['password'] : null
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue