Permalink
Browse files

Remove cruft from app.psgi

  • Loading branch information...
1 parent c1b16bb commit 75ae17f70cd40f66a35a6edb825117c2b69373d6 @ctfliblime ctfliblime committed Jun 24, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 app.psgi
View
@@ -1,17 +1,11 @@
#!/usr/bin/env perl
-use Modern::Perl;
+use Koha;
use Plack::App::CGIBin;
use Plack::Builder;
-use Data::Dumper;
my $app = Plack::App::CGIBin->new(root => $ENV{PERL5LIB})->to_app;
-my $svc = sub {
- my $env = shift;
- return [200, [ 'Content-type' => 'text/plain' ], [Dumper [$env, \%ENV]] ];
-};
-
builder {
enable 'Deflater';
enable 'Static', path => qr{^/opac-tmpl/}, root => 'koha-tmpl/';
@@ -21,5 +15,4 @@ builder {
enable '+C4::Plack::ScrubStatus';
mount '/' => $app;
- mount '/svc2' => $svc;
};

0 comments on commit 75ae17f

Please sign in to comment.