$::request auch in Console als Instanz von SL::Request anlegen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 6 Mar 2013 09:14:20 +0000 (10:14 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 6 Mar 2013 09:23:20 +0000 (10:23 +0100)
scripts/console

index d264a89..21644c8 100755 (executable)
@@ -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;