2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
'default' => 'local',
|
2018-04-02 07:02:12 +08:00
|
|
|
|
|
|
|
// This is the filesystem the uploaded files should go to
|
|
|
|
'public_files' => 'public',
|
2018-08-27 00:40:04 +08:00
|
|
|
'cloud' => 's3',
|
|
|
|
'disks' => [
|
2017-06-09 02:28:26 +08:00
|
|
|
|
|
|
|
'local' => [
|
|
|
|
'driver' => 'local',
|
2018-08-27 00:40:04 +08:00
|
|
|
'root' => storage_path('app'),
|
2017-06-09 02:28:26 +08:00
|
|
|
],
|
|
|
|
|
2019-08-05 20:27:53 +08:00
|
|
|
'seeds' => [
|
|
|
|
'driver' => 'local',
|
|
|
|
'root' => database_path('seeds'),
|
|
|
|
],
|
|
|
|
|
2017-06-09 02:28:26 +08:00
|
|
|
'public' => [
|
2018-08-27 00:40:04 +08:00
|
|
|
'driver' => 'local',
|
|
|
|
'root' => public_path('uploads'),
|
|
|
|
'url' => '/uploads',
|
2017-06-09 02:28:26 +08:00
|
|
|
'visibility' => 'public',
|
|
|
|
],
|
|
|
|
|
|
|
|
's3' => [
|
|
|
|
'driver' => 's3',
|
2018-08-27 00:40:04 +08:00
|
|
|
'key' => 'your-key',
|
2017-06-09 02:28:26 +08:00
|
|
|
'secret' => 'your-secret',
|
|
|
|
'region' => 'your-region',
|
|
|
|
'bucket' => 'your-bucket',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|