X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=about.pl;h=4687a45a3bf47ded258a63c36858439c03879e58;hb=2b8b5ae225af6119e41e2112f9a8573b4170b927;hp=6b44ea852b33a58fbc477640c44cc5272c99e969;hpb=45b85a700fcb4c9db07ec0bd13ecd8463696c4c2;p=koha_fer diff --git a/about.pl b/about.pl index 6b44ea852b..4687a45a3b 100755 --- a/about.pl +++ b/about.pl @@ -77,6 +77,21 @@ my $errZebraConnection = C4::Context->Zconn("biblioserver",0)->errcode(); my $warnIsRootUser = (! $loggedinuser); +my $warnNoActiveCurrency = (! defined C4::Budgets->GetCurrency()); +my @xml_config_warnings; + +if ( ! defined C4::Context->config('zebra_bib_index_mode') ) { + push @xml_config_warnings, { + error => 'zebra_bib_index_mode_warn' + }; +} + +if ( ! defined C4::Context->config('zebra_auth_index_mode') ) { + push @xml_config_warnings, { + error => 'zebra_auth_index_mode_warn' + }; +} + $template->param( kohaVersion => $kohaVersion, osVersion => $osVersion, @@ -93,6 +108,8 @@ $template->param( warnPrefAnonymousPatron => $warnPrefAnonymousPatron, errZebraConnection => $errZebraConnection, warnIsRootUser => $warnIsRootUser, + warnNoActiveCurrency => $warnNoActiveCurrency, + xml_config_warnings => \@xml_config_warnings, ); my @components = ();