improve comment
This commit is contained in:
parent
e33f68ecb6
commit
7093b0829f
|
@ -320,7 +320,7 @@ class OC_Setup {
|
|||
$connection_string = "host='$e_host' dbname=postgres user='$e_user' password='$e_password'";
|
||||
$connection = @pg_connect($connection_string);
|
||||
if(!$connection) {
|
||||
// Try if we can't connect with the specified DB name
|
||||
// Try if we can connect to the DB with the specified name
|
||||
$e_dbname = addslashes($dbname);
|
||||
$connection_string = "host='$e_host' dbname='$e_dbname' user='$e_user' password='$e_password'";
|
||||
$connection = @pg_connect($connection_string);
|
||||
|
|
Loading…
Reference in New Issue