phpvms/config/filesystems.php

32 lines
688 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',
2017-06-09 02:28:26 +08:00
'cloud' => 's3',
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => public_path('uploads'),
'url' => '/uploads',
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',
],
],
];