Browse Source
I need to work on this functionality a bit more. This is an end of session commit. Started it and it works but needs expanding. I could do with adding file-type checks and changing 'octet/stream' to something like 'image/png' depending on the file-type (storage in DB). This will stop the browser from downloading every file in /storage/media and allow the files which can be viewed in the browser (like images).stable
Craig Oates
2 years ago
2 changed files with 12 additions and 3 deletions
Loading…
Reference in new issue