@@ -, +, @@ --- debian/templates/koha-conf-site.xml.in | 3 +++ etc/koha-conf.xml | 3 +++ .../prog/en/modules/reports/report_files.tt | 4 ++-- reports/report_files.pl | 6 +++--- 4 files changed, 11 insertions(+), 5 deletions(-) --- a/debian/templates/koha-conf-site.xml.in +++ a/debian/templates/koha-conf-site.xml.in @@ -283,6 +283,9 @@ __END_SRU_PUBLICSERVER__ 1 /etc/koha/searchengine/queryparser.yaml + + + /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf --- a/etc/koha-conf.xml +++ a/etc/koha-conf.xml @@ -115,6 +115,9 @@ __PAZPAR2_TOGGLE_XML_POST__ 1 __KOHA_CONF_DIR__/searchengine/queryparser.yaml + + + /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/report_files.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/report_files.tt @@ -32,8 +32,8 @@

Report/log files

-[% IF ( error_no_publiclogdir ) %] -
Error : Report/log files could not be found because the "publiclogdir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.
+[% IF ( error_no_publicdir ) %] +
Error : Report/log files could not be found because the "publicdir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.
[% ELSE %] [% IF ( files_loop ) %] --- a/reports/report_files.pl +++ a/reports/report_files.pl @@ -3,7 +3,7 @@ # Frédérick Capovilla, 2011 - Libéo # # Show a list of all the files in the directory specified by the option -# "publiclogdir" in koha-conf.xml so they can be downloaded by users with the +# "publicdir" in koha-conf.xml so they can be downloaded by users with the # "reports" permission. # # This file is part of Koha. @@ -33,7 +33,7 @@ use Digest::MD5 qw(md5_hex); my $input = new CGI; my $file_id = $input->param("id"); -my $directory = C4::Context->config('publiclogdir'); +my $directory = C4::Context->config('publicdir'); my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => "reports/report_files.tt", @@ -44,7 +44,7 @@ my ($template, $borrowernumber, $cookie) }); unless($directory) { - $template->param(error_no_publiclogdir => 1); + $template->param(error_no_publicdir => 1); } else { #Get the files list --