diff options
Diffstat (limited to 'www/rt36/files')
-rw-r--r-- | www/rt36/files/ap2mp2-fix.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/rt36/files/ap2mp2-fix.pl b/www/rt36/files/ap2mp2-fix.pl new file mode 100644 index 000000000000..fb04960150c0 --- /dev/null +++ b/www/rt36/files/ap2mp2-fix.pl @@ -0,0 +1,10 @@ +# temp fix for mp2-09... make a dummy Apache->request +require Apache::RequestUtil; +no warnings 'redefine'; +my $sub = *Apache::request{CODE}; +*Apache::request = sub { + my $r; + eval { $r = $sub->('Apache'); }; + # warn $@ if $@; + return $r; +}; |