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
|
@ -265,7 +265,7 @@ function _htmlpurifier_load() {
|
|||
}
|
||||
$done = true;
|
||||
$module_path = drupal_get_path('module', 'htmlpurifier');
|
||||
$library_path = 'sites/all/libraries';
|
||||
$library_path = 'libraries';
|
||||
if (function_exists('libraries_get_path')) {
|
||||
$library_path = libraries_get_path('htmlpurifier');
|
||||
// This may happen if the user has HTML Purifier installed under the
|
||||
|
@ -273,7 +273,7 @@ function _htmlpurifier_load() {
|
|||
// move it over. There is code for emitting errors in
|
||||
// htmlpurifier.install when this is the case.
|
||||
if (!file_exists("$library_path/htmlpurifier/HTMLPurifier.auto.php")) {
|
||||
$library_path = 'sites/all/libraries';
|
||||
$library_path = 'libraries';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue