Applied adapted Drupal core patch #572516 for sites with mixed public and private files

This commit is contained in:
Manuel Cillero 2017-08-20 17:26:27 +02:00
parent 75c72c4cbb
commit 5c5aaddc78
6 changed files with 35 additions and 27 deletions

View file

@ -496,7 +496,7 @@ function locale_system_update($components) {
function locale_update_js_files() {
global $language;
$dir = file_create_path(variable_get('locale_js_directory', 'languages'));
$dir = file_create_path(variable_get('locale_js_directory', 'languages'), TRUE);
$parsed = variable_get('javascript_parsed', array());
// The first three parameters are NULL in order to get an array with all