New 'libraries' folder in root instalation directory
This commit is contained in:
parent
05b6a91b0c
commit
006992b900
2267 changed files with 50 additions and 65 deletions
|
@ -91,9 +91,9 @@ function jquery_ui_get_path() {
|
|||
$path = FALSE;
|
||||
}
|
||||
}
|
||||
// Manually check sites/all/libraries in case Libraries API is not available.
|
||||
elseif (file_exists('./sites/all/libraries/jquery.ui')) {
|
||||
$path = 'sites/all/libraries/jquery.ui';
|
||||
// Manually check libraries in case Libraries API is not available.
|
||||
elseif (file_exists('./libraries/jquery.ui')) {
|
||||
$path = 'libraries/jquery.ui';
|
||||
}
|
||||
|
||||
// Check the module directory for backwards compatibility if other methods
|
||||
|
@ -133,4 +133,3 @@ function jquery_ui_get_version() {
|
|||
|
||||
return $version;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue