Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
L
libraries
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
libraries
Commits
4d5014d6
Commit
4d5014d6
authored
Oct 01, 2018
by
AlbionBrown
Committed by
joseph.olstad
Oct 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2999116
by iceman2202, Anghelu, joseph.olstad, joshbrown81: Finds no library after update
parent
a720031d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
libraries.module
libraries.module
+7
-0
No files found.
libraries.module
View file @
4d5014d6
...
...
@@ -123,6 +123,13 @@ function libraries_get_libraries() {
$profile
=
drupal_get_path
(
'profile'
,
drupal_get_profile
());
$config
=
conf_path
();
// $config and $profile should never be empty in a proper Drupal setup.
// However, we should never search into the root filesystem under any
// circumstances, so just bail out in that case.
if
(
!
$profile
&&
!
$config
)
{
return
array
();
}
// 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.
...
...
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