[Rt-commit] r14929 - in rt/3.8/trunk: lib
falcone at bestpractical.com
falcone at bestpractical.com
Fri Aug 8 16:11:35 EDT 2008
Author: falcone
Date: Fri Aug 8 16:11:34 2008
New Revision: 14929
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/lib/RT.pm.in
Log:
r37993 at ketch: falcone | 2008-08-08 16:09:30 -0400
* when we initialized plugins, we need to be sure that
@INC has been set up already.
webmux.pl (and by extension fcgi) get here without
calling RT::Init and thus without calling InitPluginPaths
Modified: rt/3.8/trunk/lib/RT.pm.in
==============================================================================
--- rt/3.8/trunk/lib/RT.pm.in (original)
+++ rt/3.8/trunk/lib/RT.pm.in Fri Aug 8 16:11:34 2008
@@ -558,7 +558,10 @@
our @PLUGINS = ();
sub Plugins {
my $self = shift;
- @PLUGINS = $self->InitPlugins unless (@PLUGINS);
+ unless (@PLUGINS) {
+ $self->InitPluginPaths;
+ @PLUGINS = $self->InitPlugins;
+ }
return \@PLUGINS;
}
More information about the Rt-commit
mailing list