@@ -, +, @@ lockdir entry --- about.pl | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 +++++++ 2 files changed, 13 insertions(+) --- a/about.pl +++ a/about.pl @@ -209,6 +209,12 @@ if ( ! defined C4::Context->config('log4perl_conf') ) { } } +if ( ! defined C4::Context->config('lockdir') ) { + push @xml_config_warnings, { + error => 'lockdir_entry_missing' + } +} + if ( ! defined C4::Context->config('upload_path') ) { if ( Koha::Config::SysPrefs->find('OPACBaseURL')->value ) { # OPACBaseURL seems to be set --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -359,6 +359,13 @@ add it, pointing to the log4perl.conf file for your Koha instance. + [% ELSIF config_entry.error == 'lockdir_entry_missing' %] + + Warning + You are missing the <lockdir> entry in your koha-conf.xml file. Please + add it, pointing to your Koha instance's lock dir. + + [% ELSIF config_entry.error == 'uploadpath_entry_missing' %] Warning --