From 2516cfce149f3955b7b4ea7db2c7338bbc13fb89 Mon Sep 17 00:00:00 2001 From: Ruben Date: Thu, 1 Sep 2016 11:40:07 +0100 Subject: [PATCH] Fix db config use --- src/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Application.php b/src/Application.php index 68fcda1..dace9e6 100644 --- a/src/Application.php +++ b/src/Application.php @@ -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 ) );