diff --git a/about.pl b/about.pl index 55ffc379fb..ba3434184f 100755 --- a/about.pl +++ b/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' }; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 30776fc5f9..b05ef269f8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/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' %] +