[development] Files directory on installation usability fix not quite usable. ; )

adrian rossouw adrian at bryght.com
Sun Dec 9 14:37:17 UTC 2007


On 09 Dec 2007, at 6:30 AM, Larry Garfield wrote:

> Emphasis on the "properly". :-)  I had been going with the  
> conventional wisdom
> of sites/<site>/files, but when I went to merge two sites into a  
> multi-site
> to deploy them realized that wouldn't work; the path that is stored  
> into the
> files table is then bound to the domain the site is on, which is no  
> good
> because the domain changes from staging to production.  So if we  
> document
> sites/default/files for single-site installs, we need to in the  
> same breath
> document to *not* use the sites/ directory for multi-site installs  
> unless you
> want to make moving to a new server to be a PITA.

Perhaps the path in the files table should be relative to where the  
files directory is.

You get the same issue when renaming sites


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20071209/f95992b9/attachment.htm 


More information about the development mailing list