Skip to content

Commit

Permalink
Re-added site_lib addition to @inc as needed so it can override core …
Browse files Browse the repository at this point in the history
…modules.
  • Loading branch information
drn05r authored and EPrints Services committed Jul 17, 2020
1 parent fdc3c41 commit c176e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions perl_lib/EPrints.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ BEGIN


unshift @INC, $conf->{base_path} . "/lib/plugins";
unshift @INC, $conf->{base_path} . "/site_lib/plugins";

# @INC looks like:[ site_lib/plugins ; lib/plugins; perl_lib ]. Searching of a module start from the head.
# Flavour libs can NOT overwrite core modules (core modules are loaded in the list of "use" statements below)
Expand Down

0 comments on commit c176e57

Please sign in to comment.