From 3e2ecde78dba6b3ab866a4ad044e0e748edede82 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 6 Mar 2013 10:14:20 +0100 Subject: [PATCH] $::request auch in Console als Instanz von SL::Request anlegen --- scripts/console | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.20.1