X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=login.pl;h=f49163362bcb29926ca22976af92a6cc1b0c9548;hb=356cd04b385336427336465b56f7b926ebfbe484;hp=c1d4df4065afe8906dac25191ca02ecd29c63743;hpb=ee072e4f077213bf6f8792ca8f0a1afebbb6282f;p=kivitendo-erp.git diff --git a/login.pl b/login.pl index c1d4df406..f49163362 100755 --- a/login.pl +++ b/login.pl @@ -30,6 +30,10 @@ # ####################################################################### +BEGIN { + push(@INC, "modules"); +} + # setup defaults, DO NOT CHANGE $userspath = "users"; $templates = "templates"; @@ -74,6 +78,9 @@ Login disabled!\n"; exit; } +require "bin/mozilla/installationcheck.pl"; +verify_installation(); + if ($form{path}) { $form{path} =~ s/%2f/\//gi; $form{path} =~ s/\.\.\///g; @@ -97,9 +104,6 @@ Invalid path!\n"; $form{terminal} = "mozilla"; } - if ($ENV{HTTP_USER_AGENT} =~ /lynx/i) { - $form{terminal} = "lynx"; - } } else { if ($ENV{TERM} =~ /xterm/) { $form{terminal} = "xterm";