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