[Koha-cvs] CVS: koha/C4 Output.pm,1.6.2.20,1.6.2.21
Steve Tonnesen
tonnesen at users.sourceforge.net
Mon Oct 21 19:39:46 CEST 2002
Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv12076
Modified Files:
Tag: rel-1-2
Output.pm
Log Message:
gettemplate() routine will assume htdocs is in $configfile{opacdir}."/htdocs"
if the opachtdocs variable isn't set in koha.conf
Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.6.2.20
retrieving revision 1.6.2.21
diff -C2 -r1.6.2.20 -r1.6.2.21
*** Output.pm 20 Sep 2002 12:51:51 -0000 1.6.2.20
--- Output.pm 21 Oct 2002 17:39:42 -0000 1.6.2.21
***************
*** 111,116 ****
--- 111,118 ----
if ($opac) {
$htdocs = $configfile->{'opachtdocs'};
+ ($htdocs) || ($htdocs=$configfile->{opacdir}."/htdocs");
} else {
$htdocs = $configfile->{'intrahtdocs'};
+ ($htdocs) || ($htdocs=$configfile->{intranetdir}."/htdocs");
}
More information about the Koha-cvs
mailing list