From b4faaa3cad4728f75b9f3a4329cf4385130739e5 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Thu, 16 Nov 2006 09:18:22 +0000 Subject: #93882 by skeen. sites/all/* was being scanned instead of sites/all/module/*. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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 -- cgit v1.2.3