Removed remnants of code that read /etc/koha.conf for itself.
authorarensb <arensb>
Sat, 5 Oct 2002 16:48:08 +0000 (16:48 +0000)
committerarensb <arensb>
Sat, 5 Oct 2002 16:48:08 +0000 (16:48 +0000)
C4/Output.pm

index ebe5cc2..40e78f0 100644 (file)
@@ -102,9 +102,9 @@ sub gettemplate {
 
     my $htdocs;
     if ($opac) {
-       $htdocs = $configfile->{'opachtdocs'};
+       $htdocs = C4::Context->config('opachtdocs');
     } else {
-       $htdocs = $configfile->{'intrahtdocs'};
+       $htdocs = C4::Context->config('intrahtdocs');
     }
 
     my ($theme, $lang) = themelanguage($htdocs, $tmplbase);