fix: 修复redis密码 优化权限
This commit is contained in:
@@ -38,7 +38,7 @@ return [
|
||||
'dispatch_success' => app_path() . '/admin/view/public/jumptpl.html',
|
||||
'exception_tpl' => app_path() . '/admin/view/error/500.html',
|
||||
'error_message' => '页面错误!请稍后再试~',
|
||||
'version' => 'v1.1.8',
|
||||
'version' => 'v1.1.9',
|
||||
'cors_domain' => ['*', '127.0.0.1'],
|
||||
'api_url' => 'https://api.swiftadmin.net/',
|
||||
'show_error_msg' => false,
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
return [
|
||||
'default' => [
|
||||
'host' => get_env('CACHE_HOSTNAME', '127.0.0.1'),
|
||||
'password' => get_env('REDIS_PASSWORD', null),
|
||||
'password' => get_env('CACHE_PASSWORD', null),
|
||||
'port' => (int)get_env('CACHE_HOSTPORT',6379),
|
||||
'database' => get_env('CACHE_SELECT', 0),
|
||||
'prefix' => 'redis_',
|
||||
|
||||
Reference in New Issue
Block a user