}
my %params = ( %locals,
- AUTH => $::auth,
- FLASH => $::form->{FLASH},
- FORM => $::form,
+ AUTH => $::auth,
+ FLASH => $::form->{FLASH},
+ FORM => $::form,
INSTANCE_CONF => $::instance_conf,
- LOCALE => $::locale,
- LXCONFIG => \%::lx_office_conf,
- LXDEBUG => $::lxdebug,
- MYCONFIG => \%::myconfig,
- SELF => $self,
+ LOCALE => $::locale,
+ LXCONFIG => \%::lx_office_conf,
+ LXDEBUG => $::lxdebug,
+ MYCONFIG => \%::myconfig,
+ SELF => $self,
);
my $output;
$self->unrequire_bin_mozilla;
- $::cgi = CGI->new('');
- $::locale = Locale->new($::lx_office_conf{system}->{language});
- $::form = Form->new;
- %::called_subs = ();
+ $::cgi = CGI->new('');
+ $::locale = Locale->new($::lx_office_conf{system}->{language});
+ $::form = Form->new;
+ %::called_subs = ();
$::instance_conf = SL::InstanceConfiguration->new;
my $session_result = $::auth->restore_session;
package main;
- $::lxdebug = LXDebug->new(file => $debug_file);
- $::locale = Locale->new($::lx_office_conf{system}->{language});
- $::cgi = CGI->new qw();
- $::form = Form->new;
- $::auth = SL::Auth->new;
+ $::lxdebug = LXDebug->new(file => $debug_file);
+ $::locale = Locale->new($::lx_office_conf{system}->{language});
+ $::cgi = CGI->new qw();
+ $::form = Form->new;
+ $::auth = SL::Auth->new;
$::instance_conf = SL::InstanceConfiguration->new;
die 'cannot reach auth db' unless $::auth->session_tables_present;