@@ -, +, @@ --- about.pl | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 +++++++ 2 files changed, 11 insertions(+) --- a/about.pl +++ a/about.pl @@ -277,6 +277,10 @@ if ( ! C4::Context->config('tmp_path') ) { } } +if( ! C4::Context->config('encryption_key') ) { + push @xml_config_warnings, { error => 'encryption_key_missing' }; +} + # Test Zebra facets configuration if ( !defined C4::Context->config('use_zebra_facets') ) { push @xml_config_warnings, { error => 'use_zebra_facets_entry_missing' }; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -484,6 +484,13 @@ The effective temporary directory is '[% config_entry.effective_tmp_dir | html %]'. + [% ELSIF config_entry.error == 'encryption_key_missing' %] + + Warning + You are missing the <encryption_key> entry in your koha-conf.xml file. + Please generate a key. We recommend one of at least 32 bytes. (You might use 'pwgen 32' to do so.) + + [% END %] [% END %] --