升级新框架

This commit is contained in:
augushong
2019-10-09 19:02:45 +08:00
parent 13d8d1777d
commit e0283ec938
20 changed files with 121 additions and 253 deletions

View File

@@ -3,16 +3,22 @@
use think\facade\Env;
return [
// 默认磁盘
'default' => Env::get('filesystem.driver', 'local'),
// 磁盘列表
'disks' => [
'local' => [
'type' => 'local',
'root' => app()->getRuntimePath() . 'storage',
],
'public' => [
// 磁盘类型
'type' => 'local',
'root' => app()->getRootPath() . 'public/',
'url' => '/',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage',
// 磁盘路径对应的外部URL路径
'url' => '/storage',
// 可见性
'visibility' => 'public',
],
// 更多的磁盘配置信息