diff options
author | friendica <info@friendica.com> | 2013-05-10 03:32:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-10 03:32:56 -0700 |
commit | eb15209cf08afe5423eccba160e302947ca13568 (patch) | |
tree | f448847d14c209135ff44cf987afba86d0d48493 /include/dba/dba_mysql.php | |
parent | 5ba1a733798132a36632c325cf50c78b389551e7 (diff) | |
parent | c6662e35749eaf0c8db00e6a5090f866a370252c (diff) | |
download | volse-hubzilla-eb15209cf08afe5423eccba160e302947ca13568.tar.gz volse-hubzilla-eb15209cf08afe5423eccba160e302947ca13568.tar.bz2 volse-hubzilla-eb15209cf08afe5423eccba160e302947ca13568.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'include/dba/dba_mysql.php')
-rwxr-xr-x[-rw-r--r--] | include/dba/dba_mysql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba/dba_mysql.php b/include/dba/dba_mysql.php index 05e19903d..f5a2a47ba 100644..100755 --- a/include/dba/dba_mysql.php +++ b/include/dba/dba_mysql.php @@ -5,8 +5,8 @@ require_once('include/dba/dba_driver.php'); class dba_mysql extends dba_driver { - function connect($server,$user,$pass,$db) { - $this->db = mysql_connect($server,$user,$pass); + function connect($server, $port, $user,$pass,$db) { + $this->db = mysql_connect($server.":".$port,$user,$pass); if($this->db && mysql_select_db($db,$this->db)) { $this->connected = true; } |