Lines 77-82
my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode();
Link Here
|
77 |
|
77 |
|
78 |
my $warnIsRootUser = (! $loggedinuser); |
78 |
my $warnIsRootUser = (! $loggedinuser); |
79 |
|
79 |
|
|
|
80 |
my @xml_config_warnings; |
81 |
|
82 |
if ( ! defined C4::Context->config('zebra_bib_index_mode') ) { |
83 |
push @xml_config_warnings, { |
84 |
error => 'zebra_bib_index_mode_warn' |
85 |
}; |
86 |
} |
87 |
|
88 |
if ( ! defined C4::Context->config('zebra_auth_index_mode') ) { |
89 |
push @xml_config_warnings, { |
90 |
error => 'zebra_auth_index_mode_warn' |
91 |
}; |
92 |
} |
93 |
|
80 |
$template->param( |
94 |
$template->param( |
81 |
kohaVersion => $kohaVersion, |
95 |
kohaVersion => $kohaVersion, |
82 |
osVersion => $osVersion, |
96 |
osVersion => $osVersion, |
Lines 93-98
$template->param(
Link Here
|
93 |
warnPrefAnonymousPatron => $warnPrefAnonymousPatron, |
107 |
warnPrefAnonymousPatron => $warnPrefAnonymousPatron, |
94 |
errZebraConnection => $errZebraConnection, |
108 |
errZebraConnection => $errZebraConnection, |
95 |
warnIsRootUser => $warnIsRootUser, |
109 |
warnIsRootUser => $warnIsRootUser, |
|
|
110 |
xml_config_warnings => \@xml_config_warnings |
96 |
); |
111 |
); |
97 |
|
112 |
|
98 |
my @components = (); |
113 |
my @components = (); |