Bug 6205 : Fix for not found doc-head file when installing in another language

This commit is contained in:
Chris Cormack 2011-04-19 21:17:30 +12:00
parent 3bd7461b63
commit fc264bb1e2
1 changed files with 2 additions and 1 deletions

View File

@ -117,8 +117,9 @@ sub get_template_and_user {
my $filename = "$path/modules/" . $in->{template_name};
$filename =~ s/\.tmpl$/.tt/;
my $tmplbase = $filename;
my $interface = 'intranet';
my $template = C4::Templates->new( $interface, $filename);
my $template = C4::Templates->new( $interface, $filename, $tmplbase);
my ( $user, $cookie, $sessionID, $flags ) = checkauth(