X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=d5124e8d06c8d877d799eb25056484294fc8a7ca;hb=1387c8c3ae668f43cafc8b81f51f7952b42db262;hp=df71c21e5d86ffc61d717a3412968a60a6a8d0cd;hpb=3ce6fe64b187b1bb29386cfd62ed39478b97c2d8;p=kivitendo-erp.git diff --git a/am.pl b/am.pl index df71c21e5..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,7 +46,9 @@ $| = 1; use SL::LXDebug; $lxdebug = LXDebug->new(); +use CGI; use SL::Form; +use SL::Locale; eval { require "lx-erp.conf"; }; @@ -52,6 +58,7 @@ if (defined($latex) && !defined($latex_templates)) { } $form = new Form; +$cgi = new CGI(''); # name of this script $0 =~ tr/\\/\//;