2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
'default' => 'local',
|
|
|
|
'cloud' => 's3',
|
|
|
|
'disks' => [
|
|
|
|
|
|
|
|
'local' => [
|
|
|
|
'driver' => 'local',
|
|
|
|
'root' => storage_path('app'),
|
|
|
|
],
|
|
|
|
|
|
|
|
'public' => [
|
|
|
|
'driver' => 'local',
|
2018-03-21 08:17:11 +08:00
|
|
|
'root' => app_path('public/assets/upload'),
|
2017-06-09 02:28:26 +08:00
|
|
|
'visibility' => 'public',
|
|
|
|
],
|
|
|
|
|
|
|
|
's3' => [
|
|
|
|
'driver' => 's3',
|
|
|
|
'key' => 'your-key',
|
|
|
|
'secret' => 'your-secret',
|
|
|
|
'region' => 'your-region',
|
|
|
|
'bucket' => 'your-bucket',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|