Browse Source

correctly caluclate default template path for OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
3.0.x
Paul POULAIN 17 years ago
committed by Joshua Ferraro
parent
commit
eee09f39da
  1. 2
      C4/Output.pm

2
C4/Output.pm

@ -81,7 +81,7 @@ sub gettemplate {
my $filename = "$htdocs/$theme/$lang/modules/$tmplbase";
unless (-f $filename) {
$lang = 'en';
$filename = "$htdocs/$theme/$lang/".($interface eq 'intranet'?"modules":"")."/$tmplbase";
$filename = "$htdocs/$theme/$lang/modules/$tmplbase";
}
my $template = HTML::Template::Pro->new(
filename => $filename,

Loading…
Cancel
Save