From c3f94f18040a7905d4bf615684b6d51d85a959b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 8 Aug 2012 16:46:28 +0200 Subject: [PATCH] InstanceConfig auch im task_server laden Ansonsten gehen CreatePeriodicInvoices nicht --- scripts/task_server.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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; -- 2.20.1