From 891d9aa5e20ad4769e77bc5723884332eb4724ed Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 14 Feb 2005 17:26:24 +0000 Subject: [PATCH] fixing bug when searching a plugin location --- acqui.simple/addbiblio.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui.simple/addbiblio.pl b/acqui.simple/addbiblio.pl index 0234c6068e..862f37aaf5 100755 --- a/acqui.simple/addbiblio.pl +++ b/acqui.simple/addbiblio.pl @@ -181,8 +181,8 @@ sub create_input () { } elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) { # opening plugin. Just check wether we are on a developper computer on a production one # (the cgidir differs) - my $cgidir = C4::Context->intranetdir ."/cgi-bin"; - unless (opendir(DIR, "$cgidir/value_builder")) { + my $cgidir = C4::Context->intranetdir ."/cgi-bin/value_builder"; + unless (opendir(DIR, "$cgidir")) { $cgidir = C4::Context->intranetdir."/value_builder"; } my $plugin=$cgidir."/".$tagslib->{$tag}->{$subfield}->{'value_builder'}; -- 2.39.5