Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
error => 'lockdir_entry_missing'
}
}
+else {
+ unless ( -w C4::Context->config('lockdir') ) {
+ push @xml_config_warnings, {
+ error => 'lockdir_not_writable',
+ lockdir => C4::Context->config('lockdir')
+ }
+ }
+}
if ( ! defined C4::Context->config('upload_path') ) {
if ( Koha::Config::SysPrefs->find('OPACBaseURL')->value ) {
add it, pointing to your Koha instance's lock dir.
</td>
</tr>
+ [% ELSIF config_entry.error == 'lockdir_not_writable' %]
+ <tr>
+ <th scope="row"><b>Warning</b></th>
+ <td>The configured <lockdir> entry in your koha-conf.xml file points to a
+ non-writable directory ([% config_entry.lockdir | html %]).
+ </td>
+ </tr>
[% ELSIF config_entry.error == 'uploadpath_entry_missing' %]
<tr>
<th scope="row"><b>Warning</b></th>