mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
"fixed error-message on no connection to a postgres server, to NOT contain the password"
This commit is contained in:
parent
1151deace4
commit
a6b8ef57d5
@ -315,6 +315,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 null; // in case error-reporting = 'no'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user