X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Finstallationcheck.pl;h=f52cc521ddc318a3e814acfa13a9c326868111a4;hb=b6f37661d8b244fb55f27f9d77cfab6ed6a165e6;hp=54a9211a5a44488ecdf796e621bad9953739d6bd;hpb=57bf9c89a037036fcf433de39643778854defe51;p=kivitendo-erp.git diff --git a/bin/mozilla/installationcheck.pl b/bin/mozilla/installationcheck.pl index 54a9211a5..f52cc521d 100644 --- a/bin/mozilla/installationcheck.pl +++ b/bin/mozilla/installationcheck.pl @@ -16,21 +16,22 @@ sub verify_installation { return if (scalar(@missing_modules) == 0); use SL::Locale; - my $locale = new Locale($main::language, "installationcheck"); + + my $locale = Locale->new($::lx_office_conf{system}->{language}, "installationcheck"); print(qq|content-type: text/html
+ title="kivitendo stylesheet">| . $locale->text("At least one Perl module that Lx-Office ERP " . +
| . $locale->text("At least one Perl module that kivitendo ERP " . "requires for running is not installed on your " . "system.") . " " . @@ -75,7 +76,7 @@ sub verify_installation { " " . $locale->text("Here's an example command line:") . qq|
-perl -MCPAN -e "install CGI::Ajax"
perl -MCPAN -e "install Config::Std"
| . $locale->text("The third way is to download the module from the " . "above mentioned URL and to install the module " . @@ -85,7 +86,8 @@ sub verify_installation { |); - exit(0); + + $::dispatcher->end_request; } 1;