Changes between Initial Version and Version 1 of Ticket #10313, comment 32
- Timestamp:
- Aug 15, 2011, 12:46:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10313, comment 32
initial v1 2 2 > Remy's idea is to move all attachements to the new scheme, below a new toplevel folder (be it `$ENV/attachments2` or `$ENV/files/attachments`), then remove `$ENV/attachments` and use the **absence** of that folder as an indicator that the upgrade was performed. 3 3 4 Ah. So there is agreement on keeping concurrent support for old and new schemes? If so, another simple option is to use the `system` table in the database like most other plugins do: `attachment _version | 2`4 Ah. So there is agreement on keeping concurrent support for old and new schemes? If so, another simple option is to use the `system` table in the database like most other plugins do: `attachments_version | 2` 5 5 6 6 > Please re-read Remy's comment:26. We're not talking about Alias or similar, but about X-Sendfile, which is specifically designed to let the application logic handle all the steps of a request from permission checks, up to selecting the actual location of the file, except sending the file itself.