From 366c463a2265ac3360286aa8450c721c3c28a60b Mon Sep 17 00:00:00 2001 From: "Paul Buetow (pluto.buetow.org)" Date: Sat, 7 Sep 2013 15:07:51 +0200 Subject: fix --- Xerl.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Xerl.pm b/Xerl.pm index 6abd615..e61c58b 100644 --- a/Xerl.pm +++ b/Xerl.pm @@ -42,7 +42,6 @@ use Xerl::Page::Document; use Xerl::Page::Parameter; use Xerl::Page::Request; use Xerl::Page::Templates; -use Xerl::Plugins::Session; sub run($) { my Xerl $self = $_[0]; @@ -58,10 +57,10 @@ sub run($) { $config->parse(); return undef if $config->finish_request_exists(); - unless ( $config->sessionsdisable_exists() ) { - my Xerl::Plugins::Session $session = - Xerl::Plugins::Session->new( config => $config ); + my Xerl::Plugins::Session $session = + Xerl::Plugins::Session->new( config => $config ); + unless ( $config->sessionsdisable_exists() ) { $session->process(); $config->set_session($session); } -- cgit v1.2.3