[Koha-patches] (BUG #4903) oai.pl: OAI doesn't work out of the box - XSL path

Tomas Cohen Arazi tomascohen at gmail.com
Fri Jun 25 01:15:20 CEST 2010


diff --git a/opac/oai.pl b/opac/oai.pl
index 546623e..1d189c1 100755
--- a/opac/oai.pl
+++ b/opac/oai.pl
@@ -463,7 +463,7 @@ sub oai_dc_stylesheet {

     unless ( $self->{ oai_dc_stylesheet } ) {
         my $xslt_file = C4::Context->config('intranetdir') .
-                        "/koha-tmpl/intranet-tmpl/prog/en/xslt/" .
+                        "/../htdocs/intranet-tmpl/prog/en/xslt/" .
                         C4::Context->preference('marcflavour') .
                         "slim2OAIDC.xsl";
         my $parser = XML::LibXML->new();


More information about the Koha-patches mailing list