Database.php remove default db port

pull/403/head
Tom Hatzer 2017-01-15 14:43:10 +01:00 committed by GitHub
parent 1e752dcec2
commit 507df03a12
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class Database {
function __construct($host = null, $user = null, $pass = null, $db = null, $port = null) {
if($host != null && $user != null && $pass !== null && $db != null) {
$this->db_host = $host;
$this->db_port = $port || 3306;
$this->db_port = $port;
$this->db_name = $db;
$this->db_user = $user;
$this->db_pass = $pass;