Lines 60-65
$apacheVersion = `httpd2 -v` unless $apacheVersion;
Link Here
|
60 |
$apacheVersion = (`/usr/sbin/apache2 -V`)[0] unless $apacheVersion; |
60 |
$apacheVersion = (`/usr/sbin/apache2 -V`)[0] unless $apacheVersion; |
61 |
my $zebraVersion = `zebraidx -V`; |
61 |
my $zebraVersion = `zebraidx -V`; |
62 |
|
62 |
|
|
|
63 |
# Additional system information for warnings |
64 |
my $prefNoZebra = C4::Context->preference('nozebra'); |
65 |
my $prefAutoCreateAuthorities = C4::Context->preference('AutoCreateAuthorities'); |
66 |
my $prefBiblioAddsAuthorities = C4::Context->preference('BiblioAddsAuthorities'); |
67 |
my $warnPrefBiblioAddsAuthorities = ( $prefAutoCreateAuthorities && ( !$prefBiblioAddsAuthorities) ); |
68 |
|
69 |
my $prefEasyAnalyticalRecords = C4::Context->preference('EasyAnalyticalRecords'); |
70 |
my $prefUseControlNumber = C4::Context->preference('UseControlNumber'); |
71 |
my $warnPrefEasyAnalyticalRecords = ( $prefEasyAnalyticalRecords && $prefUseControlNumber ); |
72 |
|
63 |
$template->param( |
73 |
$template->param( |
64 |
kohaVersion => $kohaVersion, |
74 |
kohaVersion => $kohaVersion, |
65 |
osVersion => $osVersion, |
75 |
osVersion => $osVersion, |
Lines 69-74
$template->param(
Link Here
|
69 |
mysqlVersion => $mysqlVersion, |
79 |
mysqlVersion => $mysqlVersion, |
70 |
apacheVersion => $apacheVersion, |
80 |
apacheVersion => $apacheVersion, |
71 |
zebraVersion => $zebraVersion, |
81 |
zebraVersion => $zebraVersion, |
|
|
82 |
prefNoZebra => $prefNoZebra, |
83 |
prefBiblioAddsAuthorities => $prefBiblioAddsAuthorities, |
84 |
prefAutoCreateAuthorities => $prefAutoCreateAuthorities, |
85 |
warnPrefBiblioAddsAuthorities => $warnPrefBiblioAddsAuthorities, |
86 |
warnPrefEasyAnalyticalRecords => $warnPrefEasyAnalyticalRecords, |
72 |
); |
87 |
); |
73 |
|
88 |
|
74 |
my @components = (); |
89 |
my @components = (); |