[development] let's cleanup /misc

Moshe Weitzman weitzman at tejasa.com
Thu Jan 5 18:28:23 UTC 2006

Khalid B wrote:
> 1. In DocumentRoot, there should be only 2 files: index.php and
> .htaccess, and one directory (drupal/). Nothing else. This allows
> other applications to coexist cleanly (without clutter) with drupal.

yup. xmlrpc.php and cron.php can become url aliases to more standard 
menu callbacks.

> 2. Under drupal/, there are two directories: core/ (with includes,
> modules, misc, ...etc.), and sites/. Anything under core/ should only
> be core Drupal, untouched by anyone, and hence easily upgradable.
> everything in core can be read only, and hence security is not an
> issue.
> 3. sites/ has configuration files with multi site setup (hostname,
> default, ...etc.), in addition to an "all/" directory, which is shared
> by all domains.
> 4. Each hostname directory, as well as all/ directory can have
> modules/ and themes/, files/ with site specific themes, modules,
> ...etc.
> 5. The current scheme of having .module, .inc and .css under one
> directory for a given module should continue. It works well. 

To me, this is an excellent proposal. I read chx' disagreement but I 
still support this proposal. Just because you *can* do everything today 
doesn't mean we have achieved optimum state.

More information about the development mailing list