[drupal-devel] [task] Additional configurability of system paths in settings.php file.

basicmagic drupal-devel at drupal.org
Sat Jun 25 14:10:41 UTC 2005


Issue status update for http://drupal.org/node/25720

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     tasks
 Priority:     normal
 Assigned to:  adrian
 Reported by:  adrian
 Updated by:   basicmagic
 Status:       patch

hi adrian and thanks-


i am having a little trouble understanding this part of what you wrote:


> to allow us to add sets of modules to
> sites, without having to manage thousands of symlinks for each of the
> individual module->site links.


i am running drupal 4.6.1 with multisites. how / why would this new
aspect be important for me?


i especially don't understand what you're talking about as far as
managing symlinks for the individual module->site links.


i am using symlinks at the root of my individual domains httpdocs
directories- meaning that in the case of domain xyz.com-


the httpdocs dir for xyz.com is a symlink to
drupal4.6.1install/sites/www.xyz.com.


everythign works great- and of course individual modules, themes, etc.
in the sites dir for each domain overrides anything in the
drupal4.6.1install core dirs.


could you please advise as to how and why your mod could be used in a
multisite environment?


it seems exciting- i would just like to understand its potential
application and benefits and use a little better...


vincent




basicmagic



Previous comments:
------------------------------------------------------------------------

June 24, 2005 - 19:50 : adrian

Attachment: http://drupal.org/files/issues/systemdirs.patch (2.16 KB)

This patch allows for additional 'system' directories to be searched for
modules/themes/engines etc.


You do this by adding the following into settings.php



<?php
  $system_dirs = array( 'contributions');
?>




This would allow you to have all of contrib checked out alongside
drupal core.


We use this extensively in Bryght's hosting platform, to allow us to
add sets of modules to
sites, without having to manage thousands of symlinks for each of the
individual module->site links.




------------------------------------------------------------------------

June 24, 2005 - 22:37 : adrian

Set to patch.




------------------------------------------------------------------------

June 24, 2005 - 22:49 : adrian

eh. damnit. there was an error in that patch (system_dirs needs to be
global in the bootstrap function).


I'll roll another one later.




------------------------------------------------------------------------

June 25, 2005 - 06:56 : adrian

Attachment: http://drupal.org/files/issues/systemdirs_0.patch (2.73 KB)

Here's a fixed patch.







More information about the drupal-devel mailing list