mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 12:00:09 +01:00
"fixed error-message on no connection to a postgres server, to NOT contain the password"
This commit is contained in:
parent
86d3c5f159
commit
357ea49003
@ -291,6 +291,7 @@
|
||||
}
|
||||
if (!$Ok)
|
||||
{
|
||||
$Host = preg_replace('/password=[^ ]+/','password=$Password',$Host); // eg. postgres dsn contains password
|
||||
$this->halt("ADOdb::$connect($Host, $User, \$Password, $Database) failed.");
|
||||
return 0; // in case error-reporting = 'no'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user