Bug 10915: (QA followup) warn if cannot read history.txt
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 19 Sep 2013 15:40:03 +0000 (12:40 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 20 Sep 2013 17:25:57 +0000 (17:25 +0000)
commit45b85a700fcb4c9db07ec0bd13ecd8463696c4c2
tree8fbc94dab081dc4b38d9ac5495cff8aa4df8c029
parent3ae471a352fa2b00782c29c5c40f39db04fe510a
Bug 10915: (QA followup) warn if cannot read history.txt

This patch makes about.pl test if success opening history.txt, and
shows a convenient warning to the end user. No more warnings in the logs
(about.pl: readline() on closed filehandle $file at /usr/share/koha/intranet/cgi-bin/about.pl line 166)
and better problem solving information for the end user.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt