env 사용 테스트
This commit is contained in:
@@ -25,30 +25,30 @@ class Database extends Config
|
||||
* @var array<string, mixed>
|
||||
*/
|
||||
public array $default = [
|
||||
// 'DSN' => '',
|
||||
// 'hostname' => '192.168.10.246',
|
||||
// 'username' => 'confirms',
|
||||
// 'password' => 'zjsvjatm',
|
||||
// 'database' => 'db_confirms',
|
||||
// 'DBDriver' => 'MySQLi',
|
||||
// 'DBPrefix' => '',
|
||||
// 'pConnect' => false,
|
||||
// 'DBDebug' => true,
|
||||
// 'charset' => 'utf8mb4',
|
||||
// 'DBCollat' => 'utf8mb4_general_ci',
|
||||
// 'swapPre' => '',
|
||||
// 'encrypt' => false,
|
||||
// 'compress' => false,
|
||||
// 'strictOn' => false,
|
||||
// 'failover' => [],
|
||||
// 'port' => 3306,
|
||||
// 'numberNative' => false,
|
||||
// 'foundRows' => false,
|
||||
// 'dateFormat' => [
|
||||
// 'date' => 'Y-m-d',
|
||||
// 'datetime' => 'Y-m-d H:i:s',
|
||||
// 'time' => 'H:i:s',
|
||||
// ],
|
||||
'DSN' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'database' => '',
|
||||
'DBDriver' => 'MySQLi',
|
||||
'DBPrefix' => '',
|
||||
'pConnect' => false,
|
||||
'DBDebug' => true,
|
||||
'charset' => 'utf8mb4',
|
||||
'DBCollat' => 'utf8mb4_general_ci',
|
||||
'swapPre' => '',
|
||||
'encrypt' => false,
|
||||
'compress' => false,
|
||||
'strictOn' => false,
|
||||
'failover' => [],
|
||||
'port' => 3306,
|
||||
'numberNative' => false,
|
||||
'foundRows' => false,
|
||||
'dateFormat' => [
|
||||
'date' => 'Y-m-d',
|
||||
'datetime' => 'Y-m-d H:i:s',
|
||||
'time' => 'H:i:s',
|
||||
],
|
||||
];
|
||||
|
||||
// /**
|
||||
|
||||
Reference in New Issue
Block a user