Closed Daniel-KM closed 6 years ago
What's the benefit of doing them as absolute paths? It seems to me like it doesn't really let you do anything you can't do with the relative-only version we've got now, if you're going to maintain the restriction that the files have to be within the sideload directory anyway.
The main advantage is that the filepaths to import via Csv Import can be absolute, not only relative. So it is more flexible. For example, it's simpler to modify the sideload path if needed than all rows in a csv file. Besides, of course, for security, the check must be kept.
I rebased it on the last version.
This allows to create csv files totally independantly from Omeka and to import local files, as long as they belong to the main dir as defined in FileSideload.