summaryrefslogtreecommitdiff
path: root/rt/bin/webmux.pl.in
diff options
context:
space:
mode:
authorivan <ivan>2004-11-11 12:13:50 +0000
committerivan <ivan>2004-11-11 12:13:50 +0000
commitc582e92888b4a5553e1b4e5214cf35217e4a0cf0 (patch)
tree3fe7cd7bf22bd356b478f0de0dd8f0b140fcee23 /rt/bin/webmux.pl.in
parent289340780927b5bac2c7604d7317c3063c6dd8cc (diff)
import rt 3.0.12
Diffstat (limited to 'rt/bin/webmux.pl.in')
-rw-r--r--rt/bin/webmux.pl.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rt/bin/webmux.pl.in b/rt/bin/webmux.pl.in
index dca5705e9..2c8487c0d 100644
--- a/rt/bin/webmux.pl.in
+++ b/rt/bin/webmux.pl.in
@@ -32,6 +32,10 @@ BEGIN {
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
+
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");