You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
504 B
20 lines
504 B
<?php
|
|
|
|
use think\facade\Env;
|
|
|
|
return [
|
|
'default' => Env::get('filesystem.driver', 'public'),
|
|
'disks' => [
|
|
'local' => [
|
|
'type' => 'local',
|
|
'root' => app()->getRuntimePath() . 'storage',
|
|
],
|
|
'public' => [
|
|
'type' => 'local',
|
|
'root' => app()->getRootPath() . 'public/uploads',
|
|
'url' => '/uploads',
|
|
'visibility' => 'public',
|
|
],
|
|
// 更多的磁盘配置信息
|
|
],
|
|
]; |