projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dokumentation für Flags in Variablen in Druckvorlagen
[kivitendo-erp.git]
/
bin
/
mozilla
/
installationcheck.pl
diff --git
a/bin/mozilla/installationcheck.pl
b/bin/mozilla/installationcheck.pl
index
71f3c01
..
ca8c789
100644
(file)
--- a/
bin/mozilla/installationcheck.pl
+++ b/
bin/mozilla/installationcheck.pl
@@
-1,10
+1,14
@@
use SL::InstallationCheck;
use SL::InstallationCheck;
+use strict;
+
sub verify_installation {
my $script = $0;
$script =~ s|.*/||;
sub verify_installation {
my $script = $0;
$script =~ s|.*/||;
- return unless ($form{"action"} && ($script eq "login.pl"));
+ my $form = $main::form;
+
+ return unless ($form->{"action"} && ($script eq "login.pl"));
SL::InstallationCheck::check_for_conditional_dependencies();
SL::InstallationCheck::check_for_conditional_dependencies();
@@
-12,7
+16,8
@@
sub verify_installation {
return if (scalar(@missing_modules) == 0);
use SL::Locale;
return if (scalar(@missing_modules) == 0);
use SL::Locale;
- my $locale = new Locale($language, "installationcheck");
+
+ my $locale = new Locale($::lx_office_conf{system}->{language}, "installationcheck");
print(qq|content-type: text/html
print(qq|content-type: text/html
@@
-81,7
+86,8
@@
sub verify_installation {
</body>
</html>
|);
</body>
</html>
|);
- exit(0);
+
+ ::end_of_request();
}
1;
}
1;