Index: libraries.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/libraries/libraries.module,v retrieving revision 1.2 diff -u -p -r1.2 libraries.module --- libraries.module 4 Jun 2009 00:01:55 -0000 1.2 +++ libraries.module 23 Feb 2010 07:42:27 -0000 @@ -71,6 +71,11 @@ function libraries_get_libraries() { $searchdir = array(); $config = conf_path(); + // Similarly to Drupal core providing modules and themes in the 'modules' and + // 'themes' directories in the Drupal root directory, certain distributions may + // want to place libraries in a 'libraries' directory in the Drupal root directory. + $searchdir[] = $directory; + // The 'profiles' directory contains pristine collections of modules and // themes as organized by a distribution. It is pristine in the same way // that /modules is pristine for core; users should avoid changing anything