aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_mysqli.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-10 03:32:42 -0700
committerfriendica <info@friendica.com>2013-05-10 03:32:42 -0700
commitc6662e35749eaf0c8db00e6a5090f866a370252c (patch)
treed6e4815e0c895fdd00089a95a223456f6ba01756 /include/dba/dba_mysqli.php
parente1c6b776c4c388b4671c0838c9d24feac42857c2 (diff)
parentd4c07930d51244c8ae5014344c9502d010954448 (diff)
downloadvolse-hubzilla-c6662e35749eaf0c8db00e6a5090f866a370252c.tar.gz
volse-hubzilla-c6662e35749eaf0c8db00e6a5090f866a370252c.tar.bz2
volse-hubzilla-c6662e35749eaf0c8db00e6a5090f866a370252c.zip
Merge pull request #51 from fabrixxm/settings
add some settings:
Diffstat (limited to 'include/dba/dba_mysqli.php')
-rwxr-xr-x[-rw-r--r--]include/dba/dba_mysqli.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba/dba_mysqli.php b/include/dba/dba_mysqli.php
index af9a2434e..9cb60cb8c 100644..100755
--- a/include/dba/dba_mysqli.php
+++ b/include/dba/dba_mysqli.php
@@ -4,8 +4,8 @@ require_once('include/dba/dba_driver.php');
class dba_mysqli extends dba_driver {
- function connect($server,$user,$pass,$db) {
- $this->db = new mysqli($server,$user,$pass,$db);
+ function connect($server, $port, $user,$pass,$db) {
+ $this->db = new mysqli($server,$user,$pass,$db, $port);
if(! mysqli_connect_errno()) {
$this->connected = true;
}