Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / bin / mozilla / installationcheck.pl
index 54a9211..4741443 100644 (file)
@@ -16,7 +16,8 @@ sub verify_installation {
   return if (scalar(@missing_modules) == 0);
 
   use SL::Locale;
-  my $locale = new Locale($main::language, "installationcheck");
+
+  my $locale = new Locale($::lx_office_conf{system}->{language}, "installationcheck");
 
   print(qq|content-type: text/html
 
@@ -75,7 +76,7 @@ sub verify_installation {
         " " .
         $locale->text("Here's an example command line:") . qq|</p>
 
-  <p><code>perl -MCPAN -e &quot;install CGI::Ajax&quot;</code></p>
+  <p><code>perl -MCPAN -e &quot;install Config::Std&quot;</code></p>
 
   <p>| . $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 {
  </body>
 </html>
 |);
-  exit(0);
+
+  ::end_of_request();
 }
 
 1;