[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] Another patch for running Koha 2.2.0RC2 under mod_perl
From: |
Andrés Tarallo |
Subject: |
[Koha-devel] Another patch for running Koha 2.2.0RC2 under mod_perl |
Date: |
Tue Nov 23 03:55:01 2004 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 |
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.
Please test it under both modperl and traditional CGI. We think that the
bug solved here might also appear under traditional cgi.
Andres
--- 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);
- [Koha-devel] Bugfix for Koha 2.2.0RC2, (continued)
[Koha-devel] Patch for running Koha 2.2.0RC2 in a mod_perl environment., Andrés Tarallo, 2004/11/22
[Koha-devel] Another patch for running Koha 2.2.0RC2 under mod_perl,
Andrés Tarallo <=