[development] Loading configuration using 'SERVER_NAME' as opposed to 'HTTP_HOST'
andrew morton
drewish at katherinehouse.com
Tue Mar 17 17:01:52 UTC 2009
On Tue, Mar 17, 2009 at 5:51 AM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> I think the better solution to this is to not store the files/whatever/file
> in the DB row and store only file. The variables tell where the files are
> located so storing the path to the file in the row is a normalization issue.
> I just moved a site from one host service to another and the location for
> the files changed. Needless to say I had to update the user rows for the
> avatar's no less. If the variables were used always to create the path and
> only the file name stored in the DB then moving the files directory should
> have been a simple change to the configuration. I don't have time to work
> on a patch for this idea at the moment but I do have it on my round tuit
> list.
As with most Drupal problems there's already an issue for that:
http://drupal.org/node/366464
Looking forward to seeing you in the issue queue,
andrew
More information about the development
mailing list