phpvms/config/filesystems.php

32 lines
724 B
PHP
Raw Normal View History

2017-06-09 02:28:26 +08:00
<?php
return [
'default' => 'local',
// 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
],
'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',
],
],
];