refactoring database layer.

This commit is contained in:
Taylor Otwell
2011-09-28 21:43:11 -05:00
parent c502f8da1a
commit 9c319ba0fc
4 changed files with 84 additions and 45 deletions

View File

@@ -36,7 +36,7 @@ class Postgres extends Connector {
// Check for any optional Postgres PDO options. These options are not required
// to establish a PDO connection; however, may be needed in certain server
// or hosting environments used by the developer.
foreach (array('port', 'unix_socket') as $key => $value)
foreach (array('port') as $key => $value)
{
if (isset($config[$key])) $dsn .= ";{$key}={$value}";
}