[development] Why is the Drupal File System relative to website root and not relative to admin/settings/file-system path?

Moshe Weitzman weitzman at tejasa.com
Wed Jul 15 16:39:17 UTC 2009


fixed in d7 with sites/sites.php. you can map one path to another so
the that two environments can be made to look the same. see
http://api.drupal.org/api/function/conf_path/7.

of course d6 still needs some tricks.

On Wed, Jul 15, 2009 at 11:09 AM, Clemens Tolboom<clemens at build2be.nl> wrote:
> Having a development test acceptance and production environment it's a
> drag when moving the production database and files to an acceptance or
> development environment.
>
> One has to update the files database table and more tables or do
> trickery with symlinks to get the site running clean.
>
> If we could make the filepath in the files table relative to
> the /admin/settings/file-system path the real files are relocatable
> without pain. Just do a db load and a rsync to get the files and change
> the dmin/settings/file-system path.
>
> What do you think? Did I miss something important?
>
>


More information about the development mailing list