Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (15 sloc) 0.482 kB
#!/usr/bin/env perl
use Koha;
use Plack::App::CGIBin;
use Plack::Builder;
use Koha::Plack::Util;
my $app = Plack::App::CGIBin->new(root => $ENV{PERL5LIB})->to_app;
builder {
enable 'Deflater';
enable 'Static', path => qr{^/opac-tmpl/}, root => 'koha-tmpl/';
enable 'Static', path => qr{^/intranet-tmpl/}, root => 'koha-tmpl/';
enable '+Koha::Plack::Localize';
enable '+Koha::Plack::Rewrite';
enable '+Koha::Plack::ScrubStatus';
mount '/' => $app;
};
Jump to Line
Something went wrong with that request. Please try again.