]> BookStack Code Mirror - bookstack/commit
Allowed different storage types for images and attachments
authorDan Brown <redacted>
Sun, 23 Jun 2019 15:01:15 +0000 (16:01 +0100)
committerDan Brown <redacted>
Sun, 23 Jun 2019 15:01:15 +0000 (16:01 +0100)
commit762d1d759590aa25466c3702279baff92c09e854
tree39f40a3b93668516746f09f4e4f55663427e4c9f
parentbf1371d04c01c49aa1871b08c262be814d416ee4
Allowed different storage types for images and attachments

- Added new env and config vars to allow this.
- Also added tests for awkward config logic including fallback for new
env vars.

Closes #1302
.env.example.complete
app/Uploads/AttachmentService.php
app/Uploads/ImageService.php
config/filesystems.php
phpunit.xml
tests/Unit/ConfigTest.php [new file with mode: 0644]
tests/Uploads/ImageTest.php