Updated to reflect changes in Plack::Request API
This commit is contained in:
parent
cde333e931
commit
97432e2407
3 changed files with 13 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue