Bug 25109: Add entry in about.pl about the configuration lockdir entry
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>
This commit is contained in:
parent
936976a1fe
commit
2e4fa2d677
6
about.pl
6
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
|
||||
|
|
|
|||
|
|
@ -359,6 +359,13 @@
|
|||
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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue