[drupal-devel] Cleaner Directory structure

Jeremy Epstein jazepstein at gmail.com
Tue May 10 13:45:12 UTC 2005


On 5/10/05, Karoly Negyesi <karoly at negyesi.net> wrote:
> If you are doing this, then lose drupal from path, like this:
> 
> public_html/.htaccess.example
> public_html/index.php
> public_html/core
> public_html/local 

Now that you do it like that, I agree that having 'drupal/' is just
one more unnecessary path depth. The way you did it above looks good
to me.

I'm a bit concerned about renaming 'core' to 'drupal' - might be
confusing (or even technically problematic) since 'drupal' is also the
name of the core CVS repository? We would end up with the path
'/cvs/drupal/drupal/[subdirs]'. The ViewCVS address is already
http://cvs.drupal.org/viewcvs/drupal/drupal/. Do you want to add a
third 'drupal' to this path? I sure don't.

Also, if and when this new directory structure gets committed, we need
to encourage module developers to create new folders only within the
'local' directory tree. E.g. the 'files' directory, which is used by
upload.module (and others?), should NOT be in /core/files, but instead
in /local/files, or possibly in /local/sites/site1.com/files.

Jaza.



More information about the drupal-devel mailing list