占位
This commit is contained in:
20
config/filesystem.php
Normal file
20
config/filesystem.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use think\facade\Env;
|
||||
|
||||
return [
|
||||
'default' => Env::get('filesystem.driver', 'local'),
|
||||
'disks' => [
|
||||
'local' => [
|
||||
'driver' => 'local',
|
||||
'root' => app()->getRuntimePath() . 'storage',
|
||||
],
|
||||
'public' => [
|
||||
'driver' => 'local',
|
||||
'root' => app()->getRootPath() . 'public/storage',
|
||||
'url' => '/storage',
|
||||
'visibility' => 'public',
|
||||
],
|
||||
// 更多的磁盘配置信息
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user