[development] Loading configuration using 'SERVER_NAME' as opposed to 'HTTP_HOST'
earnie at users.sourceforge.net
Tue Mar 17 21:56:14 UTC 2009
Quoting andrew morton <drewish at katherinehouse.com>:
> 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
> As with most Drupal problems there's already an issue for that:
> Looking forward to seeing you in the issue queue,
Thanks Andrew. As I said, I don't have time at the moment but I
visited the issue and subscribed.
Make a Drupal difference and review core patches.
-- http://for-my-kids.com/ -- http://www.4offer.biz/
More information about the development