DB_TYPE, 'host' => DB_HOST, 'port' => DB_PORT, 'database' => DB_NAME, 'username' => DB_USER, 'password' => DB_PASS, 'charset' => DB_CHARSET, ]); } return $db; }