From: Moritz Bunkus Date: Wed, 6 Mar 2013 09:14:20 +0000 (+0100) Subject: $::request auch in Console als Instanz von SL::Request anlegen X-Git-Tag: release-3.1.0beta1~563 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3e2ecde78dba6b3ab866a4ad044e0e748edede82;p=kivitendo-erp.git $::request auch in Console als Instanz von SL::Request anlegen --- diff --git a/scripts/console b/scripts/console index d264a8941..21644c8c7 100755 --- a/scripts/console +++ b/scripts/console @@ -66,7 +66,10 @@ sub lxinit { $::form = Form->new; $::auth = SL::Auth->new; $::instance_conf = SL::InstanceConfiguration->new; - $::request = { cgi => CGI->new({}) }; + $::request = SL::Request->new( + cgi => CGI->new({}), + layout => SL::Layout::None->new, + ); die 'cannot reach auth db' unless $::auth->session_tables_present;