[drupal-devel] Cleaner Directory structure

K B kbahey at gmail.com
Mon May 9 13:49:27 UTC 2005


Taking it a bit further, we can even ship settings.php.example,  under
local/default, with instructions to rename it to settings.php and edit
its content.

This way again, we can overwrite the .example file everytime without
affecting the local changes.

This way, there is no need for a sites directory under drupal/core at all.

On 5/9/05, K B <kbahey at gmail.com> wrote:
> Yes.
> 
> And we ship files only under core, and under local just empty subdirectories.
> 
> This way, if the admins untar the tarball over what is there, we do
> not overwrite what they did to their site, and he has to move the
> .htaccess manually (or merge the changes manually). They now can
> proceed to sort out whatever they did to local on their own. They put
> stuff in it in the first place, and it is outside the responsibility
> of the Drupal core team.
> 
> On 5/9/05, Karoly Negyesi <karoly at negyesi.net> wrote:
> > I elaborate a bit:
> >
> > public_html/drupal/core
> > public_html/drupal/core/modules
> > public_html/drupal/core/themes
> > public_html/drupal/local
> > public_html/drupal/local/modules
> > public_html/drupal/local/themes
> > public_html/drupal/local/sites
> > public_html/drupal/local/sites/whatever/modules
> > public_html/drupal/local/sites/whatever/themes
> >
>



More information about the drupal-devel mailing list