%myconfig ist ein Hash.
[kivitendo-erp.git] / am.pl
diff --git a/am.pl b/am.pl
index df71c21..d5124e8 100755 (executable)
--- a/am.pl
+++ b/am.pl
 #
 #######################################################################
 
+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/\\/\//;