Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
libraries
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
libraries
Commits
5d1eb613
Commit
5d1eb613
authored
Apr 02, 2010
by
sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#496732
by tstoeckler, robphillips: Allow placing libraries in root directory.
parent
e97596da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
CHANGELOG.txt
CHANGELOG.txt
+1
-0
libraries.module
libraries.module
+5
-0
No files found.
CHANGELOG.txt
View file @
5d1eb613
...
...
@@ -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.
...
...
libraries.module
View file @
5d1eb613
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment