Backend for file uploads attached to any generic model, initially on aircraft and airports #226

This commit is contained in:
Nabeel Shahzad
2018-04-01 18:02:12 -05:00
parent 793b3e7134
commit e358b8706f
19 changed files with 437 additions and 38 deletions

View File

@@ -2,6 +2,9 @@
return [
'default' => 'local',
// This is the filesystem the uploaded files should go to
'public_files' => 'public',
'cloud' => 's3',
'disks' => [
@@ -12,7 +15,8 @@ return [
'public' => [
'driver' => 'local',
'root' => app_path('public/assets/upload'),
'root' => public_path('uploads'),
'url' => '/uploads',
'visibility' => 'public',
],