From 4c596e4e9758ef6f5f91e707ed9b66b8fed7728f Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 31 Mar 2008 17:08:55 -0500 Subject: [PATCH] fixed locating OPAC stylesheet in a "standard" install Signed-off-by: Joshua Ferraro --- C4/XSLT.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 52cb83c33f..1057685198 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -107,7 +107,7 @@ sub XSLTParse4Display { my $itemsxml = buildKohaItemsNamespace($biblionumber); my $xmlrecord = $record->as_xml(); $xmlrecord =~ s/\<\/record\>/$itemsxml\<\/record\>/; - my $xslfile = C4::Context->config('intranetdir')."/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPAC$type.xsl"; + my $xslfile = C4::Context->config('opachtdocs')."/prog/en/xslt/MARC21slim2OPAC$type.xsl"; my $parser = XML::LibXML->new(); # don't die when you find &, >, etc $parser->recover_silently(1); -- 2.39.2