summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-16 09:18:22 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-16 09:18:22 +0000
commitb4faaa3cad4728f75b9f3a4329cf4385130739e5 (patch)
tree03e973d332d0c61875d6c9643a949807777342a3 /includes/common.inc
parente2efd524d07bdd103edc006c1eeb56d2df4c344d (diff)
downloadbrdo-b4faaa3cad4728f75b9f3a4329cf4385130739e5.tar.gz
brdo-b4faaa3cad4728f75b9f3a4329cf4385130739e5.tar.bz2
#93882 by skeen. sites/all/* was being scanned instead of sites/all/module/*.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 7a0eaf95e..a5c9a2f11 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1854,7 +1854,7 @@ function drupal_system_listing($mask, $directory, $key = 'name', $min_depth = 1)
$files = array();
// Always search sites/all/* as well as the global directories
- $searchdir[] = 'sites/all';
+ $searchdir[] = 'sites/all/'. $directory;
// The 'profiles' directory contains pristine collections of modules and
// themes as organized by a distribution. It is pristine in the same way