X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Foai.pl;h=038b6d17925ae264c8697c7d35172b63214cb767;hb=05d9510ca91016a78db38cf7bec0bb4a2ea46480;hp=b43498036fd7dd95f2e2aa31b0d7ed14869ff75f;hpb=821cfebad6fac4cd7e280f9091d9200b48c084c1;p=koha_fer diff --git a/opac/oai.pl b/opac/oai.pl index b43498036f..038b6d1792 100755 --- a/opac/oai.pl +++ b/opac/oai.pl @@ -459,10 +459,10 @@ sub stylesheet { unless ( $stylesheet ) { my $xsl_file = $self->{ conf } ? $self->{ conf }->{ format }->{ $format }->{ xsl_file } - : ( C4::Context->config('intranetdir') . - "/koha-tmpl/intranet-tmpl/prog/en/xslt/" . + : ( C4::Context->config('intrahtdocs') . + '/prog/en/xslt/' . C4::Context->preference('marcflavour') . - "slim2OAIDC.xsl" ); + 'slim2OAIDC.xsl' ); my $parser = XML::LibXML->new(); my $xslt = XML::LibXSLT->new(); my $style_doc = $parser->parse_file( $xsl_file );