From 3726b546d5e24b2f8ffa3d02346c7a0905d3ca65 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 19 Oct 2016 19:24:12 -0700 Subject: use pdo for postgres also --- include/dba/dba_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dba/dba_mysql.php') diff --git a/include/dba/dba_mysql.php b/include/dba/dba_mysql.php index 3cadad6dc..8b51cf578 100755 --- a/include/dba/dba_mysql.php +++ b/include/dba/dba_mysql.php @@ -5,7 +5,7 @@ require_once('include/dba/dba_driver.php'); class dba_mysql extends dba_driver { - function connect($server, $port, $user,$pass,$db) { + function connect($server, $scheme, $port, $user,$pass,$db) { $this->db = mysql_connect($server.":".$port,$user,$pass); if($this->db && mysql_select_db($db,$this->db)) { $this->connected = true; -- cgit v1.2.3