add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates
This commit is contained in:
4
include/dba/dba_mysqli.php
Normal file → Executable file
4
include/dba/dba_mysqli.php
Normal file → Executable file
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user