diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-25 11:48:22 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-25 11:48:22 +1100 |
commit | 2d2ac98b3d9a24e0601e22b0d6ed4b57f7071911 (patch) | |
tree | 8792f3a8fc16560261f658d90e952b348163a6be /include/dba/dba_postgres.php | |
parent | f1fc2018626a5349000e666278571575f95a7acc (diff) | |
parent | 5dc8c54b8d3bd696095788704d4f8f8228c53522 (diff) | |
download | volse-hubzilla-2d2ac98b3d9a24e0601e22b0d6ed4b57f7071911.tar.gz volse-hubzilla-2d2ac98b3d9a24e0601e22b0d6ed4b57f7071911.tar.bz2 volse-hubzilla-2d2ac98b3d9a24e0601e22b0d6ed4b57f7071911.zip |
Merge pull request #559 from zotlabs/pdo
Pdo DB driver
Diffstat (limited to 'include/dba/dba_postgres.php')
-rw-r--r-- | include/dba/dba_postgres.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_postgres.php b/include/dba/dba_postgres.php index ae3e5a76f..560d8da60 100644 --- a/include/dba/dba_postgres.php +++ b/include/dba/dba_postgres.php @@ -9,7 +9,7 @@ class dba_postgres extends dba_driver { const UTC_NOW = "now() at time zone 'UTC'"; const TQUOT = '"'; - function connect($server,$port,$user,$pass,$db) { + function connect($server,$scheme,$port,$user,$pass,$db) { if(!$port) $port = 5432; $connstr = 'host=' . $server . ' port='.$port . ' user=' . $user . ' password=' . $pass . ' dbname='. $db; $this->db = pg_connect($connstr); |