Updated to reflect changes in Plack::Request API

This commit is contained in:
Patrick Donelan 2010-03-05 20:11:06 -05:00
parent cde333e931
commit 97432e2407
3 changed files with 13 additions and 32 deletions

View file

@ -165,7 +165,7 @@ sub handler {
my ($server, $config);
if ($request->isa('WebGUI::Session::Plack')) {
$server = $request->server;
$config = WebGUI->config;
$config = WebGUI->config; # use our cached version
} else {
$request = Apache2::Request->new($request);
$server = Apache2::ServerUtil->server; #instantiate the server api