Bug 16975 : @INC should not have '.' as its last entry
To Test 1/ Try using a plugin 2/ Apply patch 3/ Test plugin still works Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> (cherry picked from commit28eae42d2d) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commit1cf1c89f30) Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
19d670d4b7
commit
2399cef9b6
|
|
@ -27,6 +27,7 @@ use C4::Output;
|
|||
|
||||
BEGIN {
|
||||
push @INC, C4::Context->config("pluginsdir");
|
||||
pop @INC if $INC[-1] eq '.';
|
||||
}
|
||||
|
||||
=head1 NAME
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ use C4::Context;
|
|||
|
||||
BEGIN {
|
||||
push @INC, C4::Context->config("pluginsdir");
|
||||
pop @INC if $INC[-1] eq '.' ;
|
||||
}
|
||||
|
||||
=head1 NAME
|
||||
|
|
|
|||
Loading…
Reference in New Issue