Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
}
}
+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
add it, pointing to the log4perl.conf file for your Koha instance.
</td>
</tr>
+ [% ELSIF config_entry.error == 'lockdir_entry_missing' %]
+ <tr>
+ <th scope="row"><b>Warning</b></th>
+ <td>You are missing the <lockdir> entry in your koha-conf.xml file. Please
+ add it, pointing to your Koha instance's lock dir.
+ </td>
+ </tr>
[% ELSIF config_entry.error == 'uploadpath_entry_missing' %]
<tr>
<th scope="row"><b>Warning</b></th>