diff --git a/ace_editor.module b/ace_editor.module index fb8ae92..e6949a2 100644 --- a/ace_editor.module +++ b/ace_editor.module @@ -10,8 +10,9 @@ $paths_to_check = [ '/libraries', + '/' . drupal_get_path('profile', drupal_get_profile()) . '/libraries/', '/' . drupal_get_path('module', 'ace_editor') . '/libraries/', - ]; + ]; foreach ($paths_to_check as $path) { $found = file_scan_directory(DRUPAL_ROOT . $path, '/^ace\.js/', ['recurse' => TRUE]);