import rt 3.4.6
[freeside.git] / rt / lib / RT / Interface / Web / Handler.pm
index ce92225..e41490f 100644 (file)
@@ -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');