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