Added ability to secure images behind auth

Still in testing.
Adds STORAGE_TYPE=local_secure option for setting images to be behind
auth. Stores images alongside attachments in /storage/uploads/images.
This commit is contained in:
Dan Brown
2018-01-13 11:11:23 +00:00
parent 6988a6ff88
commit 0afa417b0a
8 changed files with 67 additions and 45 deletions

View File

@ -56,7 +56,12 @@ return [
'local' => [
'driver' => 'local',
'root' => base_path(),
'root' => public_path(),
],
'local_secure' => [
'driver' => 'local',
'root' => storage_path(),
],
'ftp' => [