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.
 
 
 
 
 
 
shipin/config/filesystem.php

21 lines
525 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',
],
// 更多的磁盘配置信息
],
'password' => ''
];