mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 11:33:55 +09:00
Update db_type in autoinstall cept
This commit is contained in:
parent
8266114512
commit
b9d116db68
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ $dsn = $db_config['dsn'];
|
||||||
$dsn = preg_split('/[;:]/', $dsn);
|
$dsn = preg_split('/[;:]/', $dsn);
|
||||||
$db_type = array_shift($dsn);
|
$db_type = array_shift($dsn);
|
||||||
$dbinfo = [
|
$dbinfo = [
|
||||||
'type' => (($db_type === 'mysql') ? 'mysqli' : $db_type),
|
'type' => $db_type,
|
||||||
'user' => $db_config['user'],
|
'user' => $db_config['user'],
|
||||||
'password' => $db_config['password'],
|
'password' => $db_config['password'],
|
||||||
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
'port' => ((isset($db_config['port']) && $db_config['port'])?: 3306),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue