From: Moritz Bunkus Date: Mon, 24 Jun 2013 14:39:03 +0000 (+0200) Subject: Fake-%::myconfig erstellen X-Git-Tag: release-3.1.0beta1~304 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1066d8c03c3700f5e977b98219572ef9a513d027;p=kivitendo-erp.git Fake-%::myconfig erstellen Ansonsten gehen Dinge wie $::form->(format|parse)_amount nicht. --- diff --git a/SL/Controller/Admin.pm b/SL/Controller/Admin.pm index 6c62024d5..3feca1d8f 100644 --- a/SL/Controller/Admin.pm +++ b/SL/Controller/Admin.pm @@ -522,6 +522,11 @@ sub setup_layout { $::request->layout(SL::Layout::Dispatcher->new(style => 'admin')); $::request->layout->use_stylesheet("lx-office-erp.css"); $::form->{favicon} = "favicon.ico"; + %::myconfig = ( + countrycode => 'de', + numberformat => '1.000,00', + dateformat => 'dd.mm.yy', + ) if !%::myconfig; } sub setup_client {