"additionally using the port for the pdo connection and remove password from stacktrace of failed connection"

This commit is contained in:
Ralf Becker 2008-04-18 09:08:48 +00:00
parent 48734de102
commit 8590b35fdf

View File

@ -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) {