projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
import rt 3.4.6
[freeside.git]
/
rt
/
lib
/
RT
/
Interface
/
Web
/
Handler.pm
diff --git
a/rt/lib/RT/Interface/Web/Handler.pm
b/rt/lib/RT/Interface/Web/Handler.pm
index
ce92225
..
e41490f
100644
(file)
--- a/
rt/lib/RT/Interface/Web/Handler.pm
+++ b/
rt/lib/RT/Interface/Web/Handler.pm
@@
-117,7
+117,8
@@
sub InitSessionDir {
# Clean up our umask to protect session files
umask(0077);
- if ($CGI::MOD_PERL) {
+ if ($CGI::MOD_PERL and $CGI::MOD_PERL < 1.9908 ) {
+
chown( Apache->server->uid, Apache->server->gid,
$RT::MasonSessionDir )
if Apache->server->can('uid');