diff --git a/includes/common.inc b/includes/common.inc index 7a0eaf95e823afc4c0651e1c1279d824191deb62..a5c9a2f11fb51635252d19f6b0132a57226dad1e 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