We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4b05ca + d4c6e49 commit 6aabc66Copy full SHA for 6aabc66
1 file changed
Koha/Plugin/EDS/opac/2111/opac-sendbasket.pl
@@ -38,7 +38,9 @@
38
use Koha::Token;
39
40
my $query = CGI->new;
41
-my $PluginDir = C4::Context->config("pluginsdir");
+my $pluginsdir = C4::Context->config("pluginsdir");
42
+my @pluginsdir = ref($pluginsdir) eq 'ARRAY' ? @$pluginsdir : $pluginsdir;
43
+my ($PluginDir) = grep { -f $_ . "/Koha/Plugin/EDS.pm" } @pluginsdir;
44
$PluginDir = $PluginDir.'/Koha/Plugin/EDS';
45
#require $PluginDir.'/opac/eds-methods.pl';
46
do '../eds-methods.pl';
0 commit comments