Skip to content
Snippets Groups Projects
Commit 562cca00 authored by deminy's avatar deminy Committed by Chris Leppanen
Browse files

Issue #2511738 by deminy: Incorrect File Inclusion

parent 77044620
No related branches found
No related tags found
No related merge requests found
......@@ -1116,7 +1116,7 @@ function feeds_include_library($file, $library) {
// Try first whether libraries module is present and load the file from
// there. If this fails, require the library from the local path.
if ($libraries_path && is_file("$libraries_path/$file")) {
require "$path/$file";
require "$libraries_path/$file";
$included[$key] = TRUE;
}
elseif (is_file(DRUPAL_ROOT . '/sites/all/libraries/' . $key)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment