summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-09 13:11:38 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-09 13:11:38 -0800
commit40e84bc054e93ab85739867134a341d28cf748fa (patch)
treec9f279c0c29497f720c283ec855d4c5a89e85a63
parente2d47a3caa18a029629030e485a868cbbcfa2acd (diff)
add PerlChildInitHandler which calls srand to avoid collision problems with B:OP processors which generate a random number, RT#19188
-rw-r--r--htetc/freeside-base2.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/htetc/freeside-base2.conf b/htetc/freeside-base2.conf
index dcf5efa3f..49b4a243d 100644
--- a/htetc/freeside-base2.conf
+++ b/htetc/freeside-base2.conf
@@ -6,6 +6,8 @@ PerlModule HTML::Mason
PerlSetVar MasonArgsMethod CGI
PerlModule HTML::Mason::ApacheHandler
+PerlChildInitHandler "sub { srand }"
+
PerlRequire "%%%MASON_HANDLER%%%"
#Locale::SubCountry