默认配置
This commit is contained in:
parent
b6c256736c
commit
6ece0651df
@ -4,11 +4,7 @@ APP_KEY=
|
|||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
APP_TIMEZONE=PRC
|
|
||||||
DB_TIMEZONE=+08:00
|
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
LOG_SLACK_WEBHOOK_URL=
|
|
||||||
|
|
||||||
REDIS_HOST=127.0.0.1
|
REDIS_HOST=127.0.0.1
|
||||||
REDIS_PASSWORD=null
|
REDIS_PASSWORD=null
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
dirname(__DIR__)
|
dirname(__DIR__)
|
||||||
))->bootstrap();
|
))->bootstrap();
|
||||||
|
|
||||||
date_default_timezone_set(env('APP_TIMEZONE', 'UTC'));
|
date_default_timezone_set(env('APP_TIMEZONE', 'PRC'));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
'prefix' => env('DB_PREFIX', ''),
|
'prefix' => env('DB_PREFIX', ''),
|
||||||
'strict' => env('DB_STRICT_MODE', true),
|
'strict' => env('DB_STRICT_MODE', true),
|
||||||
'engine' => env('DB_ENGINE'),
|
'engine' => env('DB_ENGINE'),
|
||||||
'timezone' => env('DB_TIMEZONE', '+00:00'),
|
'timezone' => env('DB_TIMEZONE', '+08:00'),
|
||||||
'options' => [
|
'options' => [
|
||||||
PDO::ATTR_PERSISTENT => true,
|
PDO::ATTR_PERSISTENT => true,
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user