[drupal-devel] [bug] Change default for files directory

moshe weitzman drupal-devel at drupal.org
Wed May 25 02:47:46 UTC 2005


Issue status update for http://drupal.org/node/23467

 Project:      Drupal
 Version:      cvs
 Component:    file system
 Category:     bug reports
 Priority:     normal
 Assigned to:  killes at www.drop.org
 Reported by:  killes at www.drop.org
 Updated by:   moshe weitzman
 Status:       patch

i'm curious how the bryght folks do this. they run a large mutli-site
install.


you could work around this by setting a $conf['file_directory_path'] n
a site's settings.php.




moshe weitzman



Previous comments:
------------------------------------------------------------------------

May 23, 2005 - 15:07 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/file-default.patch (4.98 KB)

Currently the defautl for the file storage directory is /files. This is
a problrem if you should later decide to setup more than one site from
the same source code. The attached page changes the default to be
/sites/default/files (defautl is replaced by the site url if the
default directory is renamed).




------------------------------------------------------------------------

May 24, 2005 - 15:22 : Dries

The fact that the different files-directories are potentially shared in
a multi-site setup probably needs to be documented in the form
description.  I suggest you update the form descriptions too so the
user understands why we are suggesting to store files in that
particular directory.


I guess it would be even better to _force_ files to be stored in the
proper sub-directory of the sites-directory.  I see two problems with
that though: legacy code will stop working, and URLs to static files
become longer/uglier.  It does get us a step closer to the proposed
separating of 'system files' and  'local files'.


Thoughts?







More information about the drupal-devel mailing list