X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=b8a8b2d1b1250b2ee03d9e1dd9e66b675e403ca6;hb=e53cae0004bd4cfe8077745c8f05c94a2645ca5e;hp=a9b05323293811aeefcd1b416f9d7a9f6b875622;hpb=d319704a66e9be64da837ccea10af6774c2b0838;p=kivitendo-erp.git diff --git a/am.pl b/am.pl index a9b053232..b8a8b2d1b 100755 --- a/am.pl +++ b/am.pl @@ -43,9 +43,15 @@ use SL::LXDebug; $lxdebug = LXDebug->new(); 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; # name of this script