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

adrian drupal-devel at drupal.org
Sat Jun 25 10:56:16 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:   adrian
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/systemdirs_0.patch (2.73 KB)

Here's a fixed patch.




adrian



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

June 25, 2005 - 01: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 25, 2005 - 04:37 : adrian

Set to patch.




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

June 25, 2005 - 04: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.







More information about the drupal-devel mailing list