Change to allow scripts to find OPAC templates in their new location
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
38e438039b
commit
79fe8faaee
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue