[Rt-commit] [svn] r1891 - in rt/branches/3.3-TESTING: .
lib/RT/Interface/Web
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Sun Nov 14 01:01:46 EST 2004
Author: autrijus
Date: Sun Nov 14 01:01:46 2004
New Revision: 1891
Modified:
rt/branches/3.3-TESTING/ (props changed)
rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
Log:
r4056 at not: autrijus | 2004-11-14T05:55:16.343169Z
* The chown() syntax in Handler.pm was broken.
* Also removed an unneccessary capturing parenthesis.
Modified: rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm (original)
+++ rt/branches/3.3-TESTING/lib/RT/Interface/Web/Handler.pm Sun Nov 14 01:01:46 2004
@@ -100,14 +100,14 @@
# Activate the following if running httpd as root (the normal case).
# Resets ownership of all files created by Mason at startup.
# Note that mysql uses DB for sessions, so there's no need to do this.
- unless ( $RT::DatabaseType =~ /(mysql|Pg)/ ) {
+ unless ( $RT::DatabaseType =~ /(?:mysql|Pg)/ ) {
# Clean up our umask to protect session files
umask(0077);
if ($CGI::MOD_PERL) {
chown( Apache->server->uid, Apache->server->gid,
- [$RT::MasonSessionDir] )
+ $RT::MasonSessionDir )
if Apache->server->can('uid');
}
More information about the Rt-commit
mailing list