From: Sven Schöling Date: Wed, 8 Aug 2012 14:46:28 +0000 (+0200) Subject: InstanceConfig auch im task_server laden X-Git-Tag: release-3.0.0beta1~297^2~19 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c3f94f18040a7905d4bf615684b6d51d85a959b1;p=kivitendo-erp.git InstanceConfig auch im task_server laden Ansonsten gehen CreatePeriodicInvoices nicht --- diff --git a/scripts/task_server.pl b/scripts/task_server.pl index 5854a5197..2c4a05fd4 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -27,6 +27,7 @@ use SL::DB::BackgroundJob; use SL::BackgroundJob::ALL; use SL::Form; use SL::Helper::DateTime; +use SL::InstanceConfiguration; use SL::LXDebug; use SL::LxOfficeConf; use SL::Locale; @@ -38,11 +39,12 @@ sub lxinit { package main; - $::lxdebug = LXDebug->new; - $::locale = Locale->new($::lx_office_conf{system}->{language}); - $::form = Form->new; - $::auth = SL::Auth->new; - $::request = { cgi => CGI->new({}) }; + $::lxdebug = LXDebug->new; + $::locale = Locale->new($::lx_office_conf{system}->{language}); + $::form = Form->new; + $::auth = SL::Auth->new; + $::instance_conf = SL::InstanceConfiguration->new; + $::request = { cgi => CGI->new({}) }; die 'cannot reach auth db' unless $::auth->session_tables_present;