Permalink
Browse files

change the order

  • Loading branch information...
1 parent 5447a3e commit 2926274bd03db0f5db285a48696f12ff5975b68b @miyagawa miyagawa committed Sep 30, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/plackup
View
@@ -31,11 +31,11 @@ lib->import(@includes) if @includes;
my $handler = Plack::Util::load_psgi $app;
if ($env eq 'development') {
- require Plack::Middleware::AccessLog;
- $handler = Plack::Middleware::AccessLog->wrap(logger => sub { print STDERR @_ }, $handler);
if (eval "require Plack::Middleware::DebugScreen; 1") {
$handler = Plack::Middleware::DebugScreen->wrap($handler);
}
+ require Plack::Middleware::AccessLog;
+ $handler = Plack::Middleware::AccessLog->wrap(logger => sub { print STDERR @_ }, $handler);
}
my @args = map { s/^--//; $_ } @ARGV;

0 comments on commit 2926274

Please sign in to comment.