Fix the FCGI issue locally using the new Catalyst script stuff..
[catagits/Gitalist.git] / lib / Gitalist / Script / FastCGI.pm
1 package Gitalist::Script::FastCGI;
2 use Moose;
3 use namespace::autoclean;
4
5 extends 'Catalyst::Script::FastCGI';
6
7 # Only exists so that this horrible hack can happen..
8 # This should be in FCGI.pm, see:
9 # http://github.com/broquaint/Gitalist/issues#issue/9
10 # http://rt.cpan.org/Public/Bug/Display.html?id=50972
11 # http://goatse.co.uk/~bobtfish/Gitalist/script/gitalist.fcgi/commitdiff?p=FCGI;h=6bfbe42bbc9a29f4befee56d6dd7077922cae50e
12 use FCGI;
13 sub FCGI::Stream::FILENO { -2 }
14
15 __PACKAGE__->meta->make_immutable;