diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-10 06:13:24 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-10 06:13:24 -0400 |
commit | d4c07930d51244c8ae5014344c9502d010954448 (patch) | |
tree | d6e4815e0c895fdd00089a95a223456f6ba01756 /include/dba/dba_mysql.php | |
parent | e1c6b776c4c388b4671c0838c9d24feac42857c2 (diff) | |
download | volse-hubzilla-d4c07930d51244c8ae5014344c9502d010954448.tar.gz volse-hubzilla-d4c07930d51244c8ae5014344c9502d010954448.tar.bz2 volse-hubzilla-d4c07930d51244c8ae5014344c9502d010954448.zip |
add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates
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; } |