gettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs"
if the opachtdocs variable isn't set in koha.conf
This commit is contained in:
parent
cdec0f9436
commit
8bbd4de78d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue