projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad8f95a
)
huh #2
author
ivan
<ivan>
Sun, 11 Oct 2009 01:48:25 +0000
(
01:48
+0000)
committer
ivan
<ivan>
Sun, 11 Oct 2009 01:48:25 +0000
(
01:48
+0000)
rt/lib/RT.pm
patch
|
blob
|
history
diff --git
a/rt/lib/RT.pm
b/rt/lib/RT.pm
index
0d0c0f5
..
22fb9a1
100644
(file)
--- a/
rt/lib/RT.pm
+++ b/
rt/lib/RT.pm
@@
-68,7
+68,7
@@
use vars qw($VERSION $System $SystemUser $Nobody $Handle $Logger
$MasonSessionDir
);
$MasonSessionDir
);
-$VERSION = '3.6.
4
';
+$VERSION = '3.6.
6
';
$CORE_CONFIG_FILE = "/opt/rt3/etc/RT_Config.pm";
$SITE_CONFIG_FILE = "/opt/rt3/etc/RT_SiteConfig.pm";
$CORE_CONFIG_FILE = "/opt/rt3/etc/RT_Config.pm";
$SITE_CONFIG_FILE = "/opt/rt3/etc/RT_SiteConfig.pm";
@@
-161,12
+161,12
@@
EOF
}
eval { require $CORE_CONFIG_FILE };
if ($@) {
}
eval { require $CORE_CONFIG_FILE };
if ($@) {
- my ($fileuid,$filegid) = (stat($
SIT
E_CONFIG_FILE))[4,5];
+ my ($fileuid,$filegid) = (stat($
COR
E_CONFIG_FILE))[4,5];
my $fileusername = getpwuid($fileuid);
my $filegroup = getgrgid($filegid);
my $fileusername = getpwuid($fileuid);
my $filegroup = getgrgid($filegid);
- my $errormessage = sprintf($message, $
SIT
E_CONFIG_FILE,
+ my $errormessage = sprintf($message, $
COR
E_CONFIG_FILE,
$fileusername, $filegroup, $filegroup);
$fileusername, $filegroup, $filegroup);
- die ("$errormessage
'$CORE_CONFIG_FILE'
\n$@")
+ die ("$errormessage\n$@")
}
# RT::Essentials mistakenly recommends that WebPath be set to '/'.
}
# RT::Essentials mistakenly recommends that WebPath be set to '/'.
@@
-459,6
+459,8
@@
ok ($RT::SystemUser->Name() ne 'noname', "The system user isn't noname");
=cut
=cut
+eval "require RT_Vendor";
+die $@ if ($@ && $@ !~ qr{^Can't locate RT_Vendor.pm});
eval "require RT_Local";
die $@ if ($@ && $@ !~ qr{^Can't locate RT_Local.pm});
eval "require RT_Local";
die $@ if ($@ && $@ !~ qr{^Can't locate RT_Local.pm});