X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=d5124e8d06c8d877d799eb25056484294fc8a7ca;hb=874ae84270cfe237b88200dc6686c06f739a8a51;hp=b8a8b2d1b1250b2ee03d9e1dd9e66b675e403ca6;hpb=541272c5cf4f874a13eff89993d5d4a941451f42;p=kivitendo-erp.git diff --git a/am.pl b/am.pl index b8a8b2d1b..d5124e8d0 100755 --- a/am.pl +++ b/am.pl @@ -30,6 +30,10 @@ # ####################################################################### +BEGIN { + push(@INC, "modules"); +} + # setup defaults, DO NOT CHANGE $userspath = "users"; $templates = "templates"; @@ -42,6 +46,7 @@ $| = 1; use SL::LXDebug; $lxdebug = LXDebug->new(); +use CGI; use SL::Form; use SL::Locale; @@ -53,6 +58,7 @@ if (defined($latex) && !defined($latex_templates)) { } $form = new Form; +$cgi = new CGI(''); # name of this script $0 =~ tr/\\/\//;