X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=am.pl;h=b8a8b2d1b1250b2ee03d9e1dd9e66b675e403ca6;hb=7804fab3bb495ddedd90159071c51b35a7e603ce;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