Skip to content
Snippets Groups Projects
Commit f05abe9f authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: non conventional use of db connection

parent 1f60a511
No related branches found
No related tags found
No related merge requests found
...@@ -257,8 +257,8 @@ class Install extends functions ...@@ -257,8 +257,8 @@ class Install extends functions
$connect = 'host='.$databaseserver . ' '; $connect = 'host='.$databaseserver . ' ';
$connect .= 'port='.$databaseserverport . ' '; $connect .= 'port='.$databaseserverport . ' ';
$connect .= 'user='.$databaseuser . ' '; $connect .= 'user='.$databaseuser . ' ';
$connect .= 'password='.$databasepassword; $connect .= 'password='.$databasepassword . ' ';
$connect .= 'dbname=postgres';
if (!@pg_connect($connect)) { if (!@pg_connect($connect)) {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment