mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
21 lines
564 B
PHP
21 lines
564 B
PHP
<?php
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Database Configuration
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Load configuration from .env
|
|
|
|
|
*/
|
|
return [
|
|
'driver' => 'mysql',
|
|
'host' => $_ENV['DB_HOST'],
|
|
'port' => $_ENV['DB_PORT'],
|
|
'database' => $_ENV['DB_DATABASE'],
|
|
'username' => $_ENV['DB_USERNAME'],
|
|
'password' => $_ENV['DB_PASSWORD'],
|
|
'charset' => 'utf8',
|
|
'collation' => 'utf8_general_ci',
|
|
'prefix' => $_ENV['DB_PREFIX']
|
|
];
|