Commit 5d1eb613 authored by sun's avatar sun

#496732 by tstoeckler, robphillips: Allow placing libraries in root directory.

parent e97596da
......@@ -6,6 +6,7 @@ Libraries x.x-x.x, xxxx-xx-xx
Libraries 7.x-1.x, xxxx-xx-xx
-----------------------------
#496732 by tstoeckler, robphillips: Allow placing libraries in root directory.
#743522 by sun: Ported to D7.
......
......@@ -71,6 +71,11 @@ function libraries_get_libraries() {
$searchdir = array();
$config = conf_path();
// Similar to 'modules' and 'themes' directories in the root directory,
// certain distributions may want to place libraries into a 'libraries'
// directory in Drupal's 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment