X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=7e111f368997c51b276034e045a8e59e4a5d85d7;hb=036fe04d0f9d0ccfc7ef563530d3c118986ef0ca;hp=a9b05323293811aeefcd1b416f9d7a9f6b875622;hpb=ee072e4f077213bf6f8792ca8f0a1afebbb6282f;p=kivitendo-erp.git diff --git a/am.pl b/am.pl index a9b053232..7e111f368 100755 --- a/am.pl +++ b/am.pl @@ -42,11 +42,19 @@ $| = 1; use SL::LXDebug; $lxdebug = LXDebug->new(); +use CGI; use SL::Form; +use SL::Locale; eval { require "lx-erp.conf"; }; +if (defined($latex) && !defined($latex_templates)) { + $latex_templates = $latex; + undef($latex); +} + $form = new Form; +$cgi = new CGI(''); # name of this script $0 =~ tr/\\/\//;