From fc264bb1e2fe498fb7769299bc6c7e397a3c54f1 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 19 Apr 2011 21:17:30 +1200 Subject: [PATCH] Bug 6205 : Fix for not found doc-head file when installing in another language --- installer/InstallAuth.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/InstallAuth.pm b/installer/InstallAuth.pm index 81c38fb199..74e1e95ecc 100644 --- a/installer/InstallAuth.pm +++ b/installer/InstallAuth.pm @@ -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( -- 2.39.5