From 8bbd4de78df68f4b8bf51b01d5aef46883e859bb Mon Sep 17 00:00:00 2001 From: tonnesen Date: Mon, 21 Oct 2002 17:39:42 +0000 Subject: [PATCH] gettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs" if the opachtdocs variable isn't set in koha.conf --- C4/Output.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Output.pm b/C4/Output.pm index dc174824c4..5c358abd7d 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -110,8 +110,10 @@ sub gettemplate { my $htdocs; if ($opac) { $htdocs = $configfile->{'opachtdocs'}; + ($htdocs) || ($htdocs=$configfile->{opacdir}."/htdocs"); } else { $htdocs = $configfile->{'intrahtdocs'}; + ($htdocs) || ($htdocs=$configfile->{intranetdir}."/htdocs"); } my ($theme, $lang) = themelanguage($htdocs, $tmplbase); -- 2.39.5