Bug 6205 : Fix for not found doc-head file when installing in another language
This commit is contained in:
parent
3bd7461b63
commit
fc264bb1e2
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue