Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10313, comment 32


Ignore:
Timestamp:
Aug 15, 2011, 12:46:28 PM (13 years ago)
Author:
osimons

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10313, comment 32

    initial v1  
    22> 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.
    33
    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`
     4Ah. 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`
    55
    66> 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.