Skip to content

Commit

Permalink
fix conn
Browse files Browse the repository at this point in the history
  • Loading branch information
Smol-An committed Dec 23, 2023
1 parent 7f2af1e commit 86a44f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function connect()
$params['port'] = isset($databaseUrl['port']) ? $databaseUrl['port'] : null;
$params['database'] = isset($databaseUrl['path']) ? ltrim($databaseUrl['path'], '/') : null;
$params['user'] = isset($databaseUrl['user']) ? $databaseUrl['user'] : null;
$params['passw'] = isset($databaseUrl['pass']) ? $databaseUrl['pass'] : null;
$params['password'] = isset($databaseUrl['pass']) ? $databaseUrl['pass'] : null;
} else {
$params = parse_ini_file('database.ini');
}
Expand Down

0 comments on commit 86a44f3

Please sign in to comment.