GX-Bug #41773 » refs_#41773_[Updater]_Wenn_der_Port_ein_leerer_String_ist,_kann_keine_Verbindung_zur_MySQL.patch
src/gambio_updater/classes/DatabaseModel.inc.php (revision ) | ||
---|---|---|
50 | 50 |
} |
51 | 51 |
$t_db_host = $t_db_host[0]; |
52 | 52 |
} |
53 |
|
|
54 |
if($t_db_port=='') $t_db_port = null; |
|
55 |
|
|
56 |
if($t_db_socket=='') $t_db_socket = null; |
|
57 |
|
|
53 | 58 |
$this->coo_mysqli = new mysqli($t_db_host, $t_db_user, $t_db_password, $t_db_name,$t_db_port,$t_db_socket); |
54 | 59 |
$this->sql_errors = array(); |
55 | 60 |
|