Fix: remove the default pgsql database name
This commit is contained in:
parent
1b122c5a2a
commit
602e64282c
@ -357,7 +357,7 @@ class DoliDb
|
|||||||
$name = str_replace(array("\\", "'"), array("\\\\", "\\'"), $name);
|
$name = str_replace(array("\\", "'"), array("\\\\", "\\'"), $name);
|
||||||
$port = str_replace(array("\\", "'"), array("\\\\", "\\'"), $port);
|
$port = str_replace(array("\\", "'"), array("\\\\", "\\'"), $port);
|
||||||
|
|
||||||
if (! $name) $name="postgres";
|
//if (! $name) $name="postgres";
|
||||||
|
|
||||||
// try first Unix domain socket (local)
|
// try first Unix domain socket (local)
|
||||||
if (! $host || $host == "" || $host == "localhost")
|
if (! $host || $host == "" || $host == "localhost")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user