admin
Karma: 98
|
Re:relative path - HOWTO ? - 2008/04/10 10:58
Sorry, I'm unclear what is the problem. My answer assumed that you were looking for a quick way to create a structure of containers and directories in the initial setup.
If you're asking about how to move a site from one place to another, the filepaths are relatively easy to update with a SQL operation. It has to be applied twice, once to the xxx_downloads_files table and once to the xxx_downloads_containers table.
Using relative paths would prevent the files being kept outside the document root, which is often the best place for them.
If I can think of a way to build the SQL into the system, I will do so, but it has to be rather general since the structure of directories above the document root varies a good deal across different hosting.
Or if you're concerned about users having to create new containers and not understanding absolute paths (is it really that difficult?) why does it matter exactly where the files are placed by Remository? There's never any need to create directories, since Remository will do it for you.
Post edited by: admin, at: 2008/04/10 10:00
Post edited by: admin, at: 2008/04/10 10:01
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |