koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Another patch for running Koha 2.2.0RC2 under mod_perl


From: Paul POULAIN
Subject: Re: [Koha-devel] Another patch for running Koha 2.2.0RC2 under mod_perl
Date: Tue Dec 7 08:11:04 2004
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.2) Gecko/20040804

Andrés Tarallo a écrit :

We discovered yesterday that we've forgot to apply this patch. This bug was fixed and submited by ernesto silva a while ago, we're resubtting it again since it wasn't commited.

------------------------------------------------------------------------

--- marc_subfields_structure.pl.original        2004-11-22 09:18:00.000000000 
-0300
+++ marc_subfields_structure.pl 2004-11-23 08:47:31.519836872 -0300
@@ -132,7 +132,14 @@
        }
        # build value_builder list
        my @value_builder=('');
-       opendir(DIR, "../value_builder") || die "can't opendir ../value_builder: 
$!";
+
+#--------------------------------------------------------------------------------------
+# Ernesto Silva, 04/11/2004 ---- Path fix for mod_perl.
+#
+#--------------------------------------------------------------------------------------
+       my $cgidir = C4::Context->intranetdir . "/cgi-bin";
+       opendir(DIR, "$cgidir/value_builder") || die "can't opendir 
$cgidir/value_builder: $!";
+#--------------------------------------------------------------------------------------
        while (my $line = readdir(DIR)) {
                if ($line =~ /\.pl$/) {
                        push (@value_builder,$line);

Hi andres,

I applied this patch and have problem : C4::Context->intranetdir means nothing for my C4::Context, so I think you have forgotten something in your submission.

--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]