@@ -, +, @@ --- about.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/about.pl +++ a/about.pl @@ -148,7 +148,15 @@ $template->param( table => $table ); ## Koha time line code #get file location -my $docdir = C4::Context->config('docdir'); +my $docdir; +if ( defined C4::Context->config('docdir') ) { + $docdir = C4::Context->config('docdir'); +} else { + # if no is defined in koha-conf.xml, use the default location + # this is a work-around to stop breakage on upgraded Kohas, bug 8911 + $docdir = C4::Context->config('intranetdir') . '/docs'; +} + open( my $file, "<", "$docdir" . "/history.txt" ); my $i = 0; --