correctly caluclate default template path for OPAC
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
d02d53e85a
commit
eee09f39da
|
|
@ -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…
Reference in New Issue