From 79fe8faaee94801f8dbc4d90c3a2e88930e17207 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 13 Nov 2007 16:20:36 -0600 Subject: [PATCH] Change to allow scripts to find OPAC templates in their new location Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Output.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Output.pm b/C4/Output.pm index d4ae30fe00..f59648ec46 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -81,7 +81,7 @@ sub gettemplate { my ( $theme, $lang ) = themelanguage( $htdocs, $tmplbase, $interface, $query ); my $opacstylesheet = C4::Context->preference('opacstylesheet'); my $template = HTML::Template::Pro->new( - filename => "$htdocs/$theme/$lang/".($interface eq 'intranet'?"modules":"")."/$tmplbase", + filename => "$htdocs/$theme/$lang/modules/$tmplbase", die_on_bad_params => 1, global_vars => 1, case_sensitive => 1, -- 2.39.5