mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
"additionally using the port for the pdo connection and remove password from stacktrace of failed connection"
This commit is contained in:
parent
48734de102
commit
8590b35fdf
@ -1282,7 +1282,6 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
|||||||
$dsn = $egw_db->Type.':host='.$egw_db->Host.';port='.$egw_db->Port.';dbname='.$egw_db->Database;
|
$dsn = $egw_db->Type.':host='.$egw_db->Host.';port='.$egw_db->Port.';dbname='.$egw_db->Database;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$egw_db->Password .= 'x';
|
|
||||||
try {
|
try {
|
||||||
self::$pdo = new PDO($dsn,$egw_db->User,$egw_db->Password);
|
self::$pdo = new PDO($dsn,$egw_db->User,$egw_db->Password);
|
||||||
} catch(Exception $e) {
|
} catch(Exception $e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user