env 사용 테스트

This commit is contained in:
2025-12-17 15:10:04 +09:00
parent 178c2a79a7
commit eadc19ccc7

View File

@@ -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' => '192.168.10.246',
'username' => 'confirms', // 'username' => 'confirms',
'password' => 'zjsvjatm', // 'password' => 'zjsvjatm',
'database' => 'db_confirms', // 'database' => 'db_confirms',
'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',
], // ],
]; ];
// /** // /**