Update db_type in autoinstall cept

This commit is contained in:
Kijin Sung 2020-06-30 20:50:28 +09:00
parent 8266114512
commit b9d116db68

View file

@ -11,7 +11,7 @@ $dsn = $db_config['dsn'];
$dsn = preg_split('/[;:]/', $dsn);
$db_type = array_shift($dsn);
$dbinfo = [
'type' => (($db_type === 'mysql') ? 'mysqli' : $db_type),
'type' => $db_type,
'user' => $db_config['user'],
'password' => $db_config['password'],
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),