projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Anpassung an check_right_number_format und check_right_date_format aus der common.js
[kivitendo-erp.git]
/
am.pl
diff --git
a/am.pl
b/am.pl
index
a9b0532
..
d5124e8
100755
(executable)
--- a/
am.pl
+++ b/
am.pl
@@
-30,6
+30,10
@@
#
#######################################################################
#
#######################################################################
+BEGIN {
+ push(@INC, "modules");
+}
+
# setup defaults, DO NOT CHANGE
$userspath = "users";
$templates = "templates";
# setup defaults, DO NOT CHANGE
$userspath = "users";
$templates = "templates";
@@
-42,11
+46,19
@@
$| = 1;
use SL::LXDebug;
$lxdebug = LXDebug->new();
use SL::LXDebug;
$lxdebug = LXDebug->new();
+use CGI;
use SL::Form;
use SL::Form;
+use SL::Locale;
eval { require "lx-erp.conf"; };
eval { require "lx-erp.conf"; };
+if (defined($latex) && !defined($latex_templates)) {
+ $latex_templates = $latex;
+ undef($latex);
+}
+
$form = new Form;
$form = new Form;
+$cgi = new CGI('');
# name of this script
$0 =~ tr/\\/\//;
# name of this script
$0 =~ tr/\\/\//;