First commit
This commit is contained in:
24
config/filesystem.php
Executable file
24
config/filesystem.php
Executable file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
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/storage',
|
||||
'url' => '/storage',
|
||||
'visibility' => 'public',
|
||||
],
|
||||
// 更多的磁盘配置信息
|
||||
'longbing' => [
|
||||
'type' => 'local',
|
||||
'root' => FILE_UPLOAD_PATH,
|
||||
]
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user