[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52,1.52.2.1
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52,1.52.2.1 |
Date: |
Thu, 03 Feb 2005 08:26:24 -0800 |
Update of /cvsroot/koha/koha/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2218/acqui.simple
Modified Files:
Tag: rel_2_2
addbiblio.pl
Log Message:
Managing absolute url instead of relative ones, for plugins (for mod_perl
compliance).
Note that the absolute url differs between developper & production servers.
Index: addbiblio.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbiblio.pl,v
retrieving revision 1.52
retrieving revision 1.52.2.1
diff -C2 -r1.52 -r1.52.2.1
*** addbiblio.pl 23 Dec 2004 08:43:43 -0000 1.52
--- addbiblio.pl 3 Feb 2005 16:26:21 -0000 1.52.2.1
***************
*** 180,184 ****
# it's a plugin field
} elsif ($tagslib->{$tag}->{$subfield}->{'value_builder'}) {
! my
$plugin="../value_builder/".$tagslib->{$tag}->{$subfield}->{'value_builder'};
require $plugin;
my $extended_param =
plugin_parameters($dbh,$rec,$tagslib,$i,$tabloop);
--- 180,190 ----
# it's a plugin field
} 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")) {
! $cgidir = C4::Context->intranetdir."/value_builder";
! }
! my
$plugin=$cgidir."/".$tagslib->{$tag}->{$subfield}->{'value_builder'};
require $plugin;
my $extended_param =
plugin_parameters($dbh,$rec,$tagslib,$i,$tabloop);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/acqui.simple addbiblio.pl,1.52,1.52.2.1,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbooks.tmpl,1.20,1.20.2.1 isbnsearch.tmpl,1.15,1.15.2.1 marcimport.tmpl,1.8,1.8.2.1
- Next by Date:
[Koha-cvs] CVS: koha plugin_launcher.pl,1.3,1.3.2.1
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbooks.tmpl,1.20,1.20.2.1 isbnsearch.tmpl,1.15,1.15.2.1 marcimport.tmpl,1.8,1.8.2.1
- Next by thread:
[Koha-cvs] CVS: koha plugin_launcher.pl,1.3,1.3.2.1
- Index(es):