X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6cf3f7762efd40bee49a2b8f11bb4ab6915d9071..7a0da5ac43efdef3428d9268c141a747b3d0c989:/dispatcher.fpl diff --git a/dispatcher.fpl b/dispatcher.fpl index afe1bc6ed..ba5f288d1 100755 --- a/dispatcher.fpl +++ b/dispatcher.fpl @@ -8,8 +8,10 @@ use SL::FCGIFixes; SL::FCGIFixes::apply_fixes(); -SL::Dispatcher::pre_startup(); +our $dispatcher = SL::Dispatcher->new('FastCGI'); +$dispatcher->pre_startup; + my $request = FCGI::Request(); -SL::Dispatcher::handle_request('FastCGI') while $request->Accept() >= 0; +$dispatcher->handle_request($request) while $request->Accept() >= 0; 1;