View | Details | Raw Unified | Return to bug 10915
Collapse All | Expand All

(-)a/about.pl (-2 / +9 lines)
Lines 148-154 $template->param( table => $table ); Link Here
148
## Koha time line code
148
## Koha time line code
149
149
150
#get file location
150
#get file location
151
my $docdir = C4::Context->config('docdir');
151
my $docdir;
152
if ( defined C4::Context->config('docdir') ) {
153
    $docdir = C4::Context->config('docdir');
154
} else {
155
    # if no <docdir> is defined in koha-conf.xml, use the default location
156
    # this is a work-around to stop breakage on upgraded Kohas, bug 8911
157
    $docdir = C4::Context->config('intranetdir') . '/docs';
158
}
159
152
open( my $file, "<", "$docdir" . "/history.txt" );
160
open( my $file, "<", "$docdir" . "/history.txt" );
153
my $i = 0;
161
my $i = 0;
154
162
155
- 

Return to bug 10915